Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.365/1.365, allocations: 230.6 MB / 258.3 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 47.94 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2436, allocations: 53.36 MB / 431.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002666/0.2463, allocations: 1.51 MB / 433.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007817/0.2471, allocations: 442.9 kB / 433.8 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.2471, allocations: 3.938 kB / 433.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.2471, allocations: 7.922 kB / 433.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.2472, allocations: 11.94 kB / 433.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.2475, allocations: 27.91 kB / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.2476, allocations: 35.86 kB / 433.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2477, allocations: 22.08 kB / 433.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2478, allocations: 19.88 kB / 433.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.2478, allocations: 15.92 kB / 434 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2479, allocations: 4 kB / 434 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.631e-05/0.2479, allocations: 8 kB / 434 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.2479, allocations: 11.98 kB / 434 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.2479, allocations: 19.86 kB / 434 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.2481, allocations: 39.77 kB / 434 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2481, allocations: 4 kB / 434 MB, free: 4.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2481, allocations: 0 / 434 MB, free: 4.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2481, allocations: 0 / 434 MB, free: 4.441 MB / 334.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.0004317/0.2485, allocations: 274.2 kB / 434.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2485, allocations: 8.031 kB / 434.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.384e-05/0.2485, allocations: 4.188 kB / 434.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.2486, allocations: 42.69 kB / 434.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.2487, allocations: 12.92 kB / 434.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.2489, allocations: 122.5 kB / 434.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.2489, allocations: 8.312 kB / 434.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.2489, allocations: 4.375 kB / 434.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.2492, allocations: 111.2 kB / 434.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2492, allocations: 7.938 kB / 434.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2492, allocations: 3.984 kB / 434.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2492, allocations: 4 kB / 434.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.2493, allocations: 19.98 kB / 434.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.2495, allocations: 128.7 kB / 434.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.2496, allocations: 54.55 kB / 434.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.2497, allocations: 20.94 kB / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.2497, allocations: 15.91 kB / 434.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.2497, allocations: 34.56 kB / 434.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2497, allocations: 3.938 kB / 434.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.2499, allocations: 69.67 kB / 435 MB, free: 3.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.25, allocations: 55.41 kB / 435 MB, free: 3.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2501, allocations: 109.8 kB / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2501, allocations: 25.7 kB / 435.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.2502, allocations: 88.14 kB / 435.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.2502, allocations: 4.359 kB / 435.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.2502, allocations: 17.72 kB / 435.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2503, allocations: 314.8 kB / 435.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.2504, allocations: 4 kB / 435.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.2504, allocations: 39.3 kB / 435.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.2504, allocations: 39.38 kB / 435.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2504, allocations: 0 / 435.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.322e-05/0.2505, allocations: 65.52 kB / 435.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2505, allocations: 8.125 kB / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2505, allocations: 0 / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.2506, allocations: 4 kB / 435.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.417e-05/0.2506, allocations: 4 kB / 435.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2506, allocations: 4 kB / 435.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.2506, allocations: 0 / 435.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.2506, allocations: 0 / 435.7 MB, free: 2.523 MB / 334.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.895e-05/0.2507, allocations: 121.7 kB / 435.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.2508, allocations: 65.61 kB / 435.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.2509, allocations: 15.94 kB / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2509, allocations: 0 / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2509, allocations: 0 / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2509, allocations: 3.984 kB / 435.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.613e-05/0.251, allocations: 128.7 kB / 436.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.251, allocations: 3.938 kB / 436.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.251, allocations: 8 kB / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.251, allocations: 0 / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.251, allocations: 0 / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.251, allocations: 0 / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.251, allocations: 4 kB / 436.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.2512, allocations: 93.05 kB / 436.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.2512, allocations: 15.88 kB / 436.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2512, allocations: 0 / 436.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/0.2513, allocations: 4 kB / 436.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-06/0.2513, allocations: 0 / 436.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2513, allocations: 0 / 436.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.344e-05/0.2513, allocations: 91.27 kB / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2513, allocations: 0 / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.2515, allocations: 8 kB / 436.3 MB, free: 1.887 MB / 334.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.0004356/0.252, allocations: 0.6247 MB / 436.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.2521, allocations: 23.92 kB / 436.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2521, allocations: 4 kB / 436.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2521, allocations: 0 / 436.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.2523, allocations: 31.98 kB / 437 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2533, allocations: 1.179 MB / 438.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.763e-05/0.2534, allocations: 75.33 kB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.284e-05/0.2534, allocations: 4 kB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.2534, allocations: 7.438 kB / 438.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2534, allocations: 0 / 438.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.2743, allocations: 1.51 MB / 439.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.84, allocations: 8.062 kB / 439.7 MB, free: 14.43 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.187295565963723]