Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 120.1 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 214.3 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.4 MB / 254.7 MB, free: 14.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 59.91 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1349, allocations: 53.38 MB / 427.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003483/0.1384, allocations: 1.465 MB / 428.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.1386, allocations: 35.84 kB / 428.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.1387, allocations: 4 kB / 428.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.1388, allocations: 3.938 kB / 428.6 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.397e-05/0.1388, allocations: 3.938 kB / 428.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1391, allocations: 23.97 kB / 428.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1392, allocations: 27.92 kB / 428.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1393, allocations: 8 kB / 428.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.1394, allocations: 15.92 kB / 428.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.1394, allocations: 11.94 kB / 428.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1394, allocations: 0 / 428.7 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.1395, allocations: 4 kB / 428.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.1395, allocations: 7.969 kB / 428.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.1395, allocations: 23.88 kB / 428.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1397, allocations: 27.84 kB / 428.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1397, allocations: 3.938 kB / 428.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1397, allocations: 0 / 428.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1397, allocations: 0 / 428.7 MB, free: 2.902 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005721/0.1402, allocations: 343.5 kB / 429.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1403, allocations: 8.031 kB / 429.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.953e-05/0.1403, allocations: 4.188 kB / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.1404, allocations: 38.73 kB / 429.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.1404, allocations: 4.891 kB / 429.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1407, allocations: 184.3 kB / 429.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.1407, allocations: 4.312 kB / 429.3 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1408, allocations: 4.375 kB / 429.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.1412, allocations: 123.6 kB / 429.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1412, allocations: 0 / 429.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1412, allocations: 11.98 kB / 429.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1412, allocations: 3.938 kB / 429.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1414, allocations: 19.98 kB / 429.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.1416, allocations: 157.7 kB / 429.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1418, allocations: 58.48 kB / 429.7 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.1419, allocations: 24.92 kB / 429.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.1419, allocations: 0 / 429.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.1419, allocations: 38.5 kB / 429.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1419, allocations: 4 kB / 429.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000328/0.1423, allocations: 77.61 kB / 429.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.1423, allocations: 59.41 kB / 429.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.1425, allocations: 109.8 kB / 430 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1425, allocations: 25.7 kB / 430 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.1426, allocations: 80.14 kB / 430.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.1426, allocations: 8 kB / 430.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1427, allocations: 17.7 kB / 430.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.1429, allocations: 318.8 kB / 430.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.1429, allocations: 0 / 430.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.1429, allocations: 35.42 kB / 430.5 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.733e-05/0.143, allocations: 39.38 kB / 430.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.143, allocations: 0 / 430.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001105/0.1431, allocations: 61.95 kB / 430.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1431, allocations: 11.94 kB / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1431, allocations: 0 / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1431, allocations: 0 / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1432, allocations: 16.12 kB / 430.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1432, allocations: 7.938 kB / 430.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.1433, allocations: 0 / 430.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.1433, allocations: 0 / 430.6 MB, free: 0.7773 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.1434, allocations: 121.8 kB / 430.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.1435, allocations: 65.61 kB / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.1436, allocations: 11.84 kB / 430.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1436, allocations: 0 / 430.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1436, allocations: 0 / 430.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1436, allocations: 4 kB / 430.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.1437, allocations: 161.6 kB / 431 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1437, allocations: 0 / 431 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.1438, allocations: 11.94 kB / 431 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/0.1438, allocations: 7.938 kB / 431 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1438, allocations: 0 / 431 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1438, allocations: 0 / 431 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1438, allocations: 0 / 431 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.144, allocations: 93.31 kB / 431.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.1441, allocations: 85.05 kB / 431.1 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1441, allocations: 4 kB / 431.1 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.1441, allocations: 3.984 kB / 431.2 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-06/0.1441, allocations: 0 / 431.2 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.1441, allocations: 8 kB / 431.2 MB, free: 100 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.348e-05/0.1442, allocations: 79.28 kB / 431.2 MB, free: 20 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1442, allocations: 0 / 431.2 MB, free: 20 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.1444, allocations: 4 kB / 431.2 MB, free: 16 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2766/0.421, allocations: 0.6478 MB / 431.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.4212, allocations: 29.88 kB / 431.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4212, allocations: 3.656 kB / 431.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.4212, allocations: 6.781 kB / 431.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.4216, allocations: 25.03 kB / 432 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4227, allocations: 1.176 MB / 433.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.4229, allocations: 0.6826 MB / 433.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.4229, allocations: 1.906 kB / 433.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.423, allocations: 18.8 kB / 433.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.423, allocations: 3.344 kB / 433.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.4415, allocations: 1.42 MB / 435.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.437, allocations: 22.47 kB / 435.3 MB, free: 8.133 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.051946452993434]