Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007987/0.0007987, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007787/0.0007787, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8932/0.8932, allocations: 173.4 MB / 200.4 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.283e-05, allocations: 3.688 kB / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002328/0.00235, allocations: 1.478 MB / 319.9 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005858/0.002936, allocations: 407 kB / 320.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.003, allocations: 4 kB / 320.3 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.003028, allocations: 3.938 kB / 320.3 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.003091, allocations: 11.88 kB / 320.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.003324, allocations: 43.75 kB / 320.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.003413, allocations: 43.86 kB / 320.4 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.003511, allocations: 4 kB / 320.4 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.225e-05/0.003593, allocations: 27.91 kB / 320.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.003638, allocations: 7.984 kB / 320.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.00366, allocations: 4 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.003669, allocations: 4 kB / 320.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.003689, allocations: 11.92 kB / 320.5 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.003716, allocations: 4 kB / 320.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.624e-05/0.003813, allocations: 39.88 kB / 320.5 MB, free: 4.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.003816, allocations: 4 kB / 320.5 MB, free: 4.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003817, allocations: 0 / 320.5 MB, free: 4.234 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.003821, allocations: 0 / 320.5 MB, free: 4.234 MB / 282.7 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.0003848/0.004206, allocations: 274.2 kB / 320.8 MB, free: 3.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.004248, allocations: 8.922 kB / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.004281, allocations: 38.75 kB / 320.8 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.004305, allocations: 8.891 kB / 320.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.004495, allocations: 125.6 kB / 321 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.004506, allocations: 384 / 321 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.004516, allocations: 12.38 kB / 321 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.004788, allocations: 111.8 kB / 321.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.004797, allocations: 192 / 321.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.004815, allocations: 4.125 kB / 321.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.00482, allocations: 0 / 321.1 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.004883, allocations: 23.92 kB / 321.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.005278, allocations: 132.8 kB / 321.3 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.00538, allocations: 50.55 kB / 321.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.005421, allocations: 24.92 kB / 321.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.00544, allocations: 0 / 321.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.00546, allocations: 38.56 kB / 321.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.005461, allocations: 0 / 321.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001812/0.005643, allocations: 81.5 kB / 321.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.00568, allocations: 51.41 kB / 321.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.005741, allocations: 129.7 kB / 321.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.00575, allocations: 25.7 kB / 321.7 MB, free: 2.945 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.005786, allocations: 84.14 kB / 321.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.005788, allocations: 0 / 321.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.005807, allocations: 17.72 kB / 321.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.005875, allocations: 310.8 kB / 322.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.005879, allocations: 0 / 322.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-06/0.005882, allocations: 0 / 322.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.902e-05/0.005901, allocations: 79.28 kB / 322.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.756e-05/0.005918, allocations: 75.28 kB / 322.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.404e-05/0.005953, allocations: 33.62 kB / 322.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.005981, allocations: 87.28 kB / 322.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.005999, allocations: 75.28 kB / 322.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.536e-05/0.006044, allocations: 162.4 kB / 322.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.758e-05/0.006062, allocations: 79.38 kB / 322.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.354e-05/0.006095, allocations: 154.6 kB / 322.8 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.006139, allocations: 79.22 kB / 322.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.006157, allocations: 79.28 kB / 322.9 MB, free: 1.625 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.122e-05/0.006228, allocations: 189.1 kB / 323.1 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.006302, allocations: 61.77 kB / 323.2 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.006331, allocations: 16 kB / 323.2 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.006335, allocations: 7.969 kB / 323.2 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.006341, allocations: 3.984 kB / 323.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006344, allocations: 0 / 323.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.974e-05/0.006403, allocations: 124.8 kB / 323.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.006406, allocations: 0 / 323.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.006475, allocations: 8 kB / 323.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.006478, allocations: 0 / 323.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.006484, allocations: 0 / 323.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.00649, allocations: 11.94 kB / 323.4 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.006494, allocations: 3.984 kB / 323.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.71e-05/0.006581, allocations: 93 kB / 323.4 MB, free: 1.031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.006604, allocations: 11.98 kB / 323.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.006614, allocations: 0 / 323.5 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.447e-05/0.006629, allocations: 7.938 kB / 323.5 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-06/0.006631, allocations: 3.938 kB / 323.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.006637, allocations: 0 / 323.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.664e-05/0.006673, allocations: 95.58 kB / 323.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.006673, allocations: 0 / 323.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.006821, allocations: 4 kB / 323.6 MB, free: 0.9102 MB / 282.7 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.0002536/0.007074, allocations: 0.6203 MB / 324.2 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.585e-05/0.00713, allocations: 19.92 kB / 324.2 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007132, allocations: 0 / 324.2 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.007132, allocations: 0 / 324.2 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.007313, allocations: 34.83 kB / 324.2 MB, free: 216 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.008037, allocations: 1.387 MB / 325.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.37e-05/0.008081, allocations: 63.34 kB / 325.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.109e-05/0.008092, allocations: 4 kB / 325.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.008138, allocations: 20.44 kB / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008139, allocations: 0 / 325.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.022, allocations: 1.918 MB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.546/6.568, allocations: 6.781 kB / 327.6 MB, free: 12.84 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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: 8.234386534430087]