Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001267/0.001267, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001411/0.001411, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.493/1.493, allocations: 230.5 MB / 254.7 MB, free: 15.16 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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 59.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1385, allocations: 53.38 MB / 427.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002923/0.1414, allocations: 1.482 MB / 428.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003222/0.1417, allocations: 99.67 kB / 428.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.1418, allocations: 0 / 428.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.1418, allocations: 7.938 kB / 428.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.1419, allocations: 11.92 kB / 428.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1422, allocations: 8 kB / 428.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1423, allocations: 31.91 kB / 428.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1424, allocations: 11.98 kB / 428.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.1424, allocations: 7.938 kB / 428.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.1425, allocations: 15.92 kB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1425, allocations: 0 / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.1425, allocations: 4 kB / 428.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.1425, allocations: 4 kB / 428.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.1426, allocations: 15.88 kB / 428.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1427, allocations: 35.83 kB / 428.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1427, allocations: 0 / 428.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1427, allocations: 0 / 428.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1427, allocations: 0 / 428.8 MB, free: 2.871 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.0005116/0.1432, allocations: 343.3 kB / 429.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.1433, allocations: 12.03 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.763e-05/0.1433, allocations: 4.188 kB / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.1433, allocations: 30.75 kB / 429.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.1434, allocations: 12.89 kB / 429.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1436, allocations: 176.4 kB / 429.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.1436, allocations: 384 / 429.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1436, allocations: 4.375 kB / 429.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.144, allocations: 107.6 kB / 429.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.144, allocations: 4 kB / 429.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.144, allocations: 4 kB / 429.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.144, allocations: 0 / 429.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.1441, allocations: 19.92 kB / 429.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.1443, allocations: 157.6 kB / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1444, allocations: 54.48 kB / 429.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.1445, allocations: 28.92 kB / 429.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.1445, allocations: 3.938 kB / 429.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1445, allocations: 34.5 kB / 429.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1445, allocations: 0 / 429.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002306/0.1448, allocations: 69.61 kB / 429.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.1448, allocations: 59.41 kB / 429.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.1449, allocations: 105.8 kB / 430 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1449, allocations: 29.7 kB / 430 MB, free: 1.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.145, allocations: 80.14 kB / 430.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.145, allocations: 4 kB / 430.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.145, allocations: 17.7 kB / 430.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1452, allocations: 314.8 kB / 430.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.1452, allocations: 4 kB / 430.4 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.1452, allocations: 27.44 kB / 430.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.1452, allocations: 39.36 kB / 430.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1452, allocations: 0 / 430.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.746e-05/0.1453, allocations: 53.7 kB / 430.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1453, allocations: 15.94 kB / 430.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1453, allocations: 3.984 kB / 430.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1454, allocations: 0 / 430.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.1454, allocations: 12.25 kB / 430.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.1454, allocations: 0 / 430.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.1455, allocations: 11.95 kB / 430.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.1455, allocations: 0 / 430.6 MB, free: 0.8008 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.958e-05/0.1455, allocations: 109.8 kB / 430.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1457, allocations: 69.83 kB / 430.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.1457, allocations: 3.906 kB / 430.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1457, allocations: 8.031 kB / 430.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1457, allocations: 0 / 430.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1457, allocations: 0 / 430.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1458, allocations: 157.6 kB / 431 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1458, allocations: 0 / 431 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.1459, allocations: 11.98 kB / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1459, allocations: 3.938 kB / 431 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1459, allocations: 0 / 431 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1459, allocations: 0 / 431 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1459, allocations: 4 kB / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.146, allocations: 89 kB / 431.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.1461, allocations: 89.05 kB / 431.1 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1461, allocations: 0 / 431.1 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.223e-05/0.1461, allocations: 3.938 kB / 431.1 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.1461, allocations: 3.938 kB / 431.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1461, allocations: 7.984 kB / 431.2 MB, free: 140 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.359e-05/0.1462, allocations: 87.28 kB / 431.2 MB, free: 52 kB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1462, allocations: 0 / 431.2 MB, free: 52 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001795/0.1464, allocations: 4 kB / 431.2 MB, free: 48 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0005375/0.1469, allocations: 0.6163 MB / 431.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.147, allocations: 31.92 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.147, allocations: 0 / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/0.147, allocations: 4 kB / 431.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1473, allocations: 15.98 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1485, allocations: 1.162 MB / 433.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.1489, allocations: 0.6807 MB / 433.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.486e-05/0.1489, allocations: 0 / 433.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.149, allocations: 11.44 kB / 433.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.149, allocations: 0 / 433.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.1678, allocations: 1.297 MB / 435.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.1, allocations: 22.36 kB / 435.1 MB, free: 12.18 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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: 10.820021049003117]