Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001703/0.001703, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002279/0.002279, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.642/1.642, allocations: 230.6 MB / 258.3 MB, free: 7.789 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 44.03 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2221, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003043/0.2252, allocations: 1.689 MB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004272/0.2256, allocations: 167.3 kB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.2257, allocations: 0 / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.2257, allocations: 15.81 kB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.2259, allocations: 15.86 kB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.2261, allocations: 43.89 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.2262, allocations: 51.91 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2263, allocations: 22.94 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.464e-05/0.2264, allocations: 23.88 kB / 434.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.2264, allocations: 31.84 kB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.2264, allocations: 4 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.2264, allocations: 4 kB / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.2265, allocations: 19.92 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.2265, allocations: 31.73 kB / 434.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.2267, allocations: 63.39 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2267, allocations: 0 / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.2267, allocations: 3.984 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.2267, allocations: 4 kB / 434.5 MB, free: 4.523 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004791/0.2272, allocations: 310 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2272, allocations: 15.97 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.2272, allocations: 8.891 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2275, allocations: 142.3 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2275, allocations: 8.375 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.2275, allocations: 4.375 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.2279, allocations: 166.4 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2279, allocations: 4.172 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2279, allocations: 11.88 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2279, allocations: 0 / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.228, allocations: 35.97 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.2284, allocations: 305.5 kB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.2286, allocations: 107.9 kB / 435.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2287, allocations: 54.56 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2287, allocations: 4 kB / 435.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.2288, allocations: 46.48 kB / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.2288, allocations: 0 / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003252/0.2291, allocations: 113.6 kB / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.2292, allocations: 110.8 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2293, allocations: 136.3 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.2293, allocations: 29.7 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.2294, allocations: 88.14 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.2294, allocations: 12.28 kB / 436.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.2294, allocations: 33.67 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2296, allocations: 322.8 kB / 436.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.2296, allocations: 11.98 kB / 436.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.2297, allocations: 79.59 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.2299, allocations: 91.59 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2299, allocations: 0 / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002054/0.2301, allocations: 109.4 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2301, allocations: 4.281 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2301, allocations: 8 kB / 436.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2301, allocations: 0 / 436.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.2302, allocations: 23.92 kB / 436.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2302, allocations: 4 kB / 436.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.2303, allocations: 11.89 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2303, allocations: 7.984 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001019/0.2304, allocations: 125.8 kB / 437 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.2305, allocations: 81.56 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.2305, allocations: 12.72 kB / 437.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2306, allocations: 4 kB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2306, allocations: 0 / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2306, allocations: 3.984 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.2308, allocations: 121.2 kB / 437.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2308, allocations: 7.938 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.2309, allocations: 19.98 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2309, allocations: 4 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2309, allocations: 4 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2309, allocations: 4 kB / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2309, allocations: 0 / 437.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.2312, allocations: 320.2 kB / 437.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.2313, allocations: 19.94 kB / 437.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2313, allocations: 4 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2314, allocations: 7.938 kB / 437.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.2314, allocations: 4 kB / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2314, allocations: 4 kB / 437.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.352e-05/0.2315, allocations: 107.5 kB / 437.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2315, allocations: 0 / 437.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.2318, allocations: 15.94 kB / 437.7 MB, free: 0.9414 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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 8.304e-05/0.2319, allocations: 103.1 kB / 437.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.2321, allocations: 59.91 kB / 437.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2321, allocations: 0 / 437.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.37e-05/0.2321, allocations: 15.92 kB / 437.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.2326, allocations: 42.86 kB / 438 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.2329, allocations: 203.6 kB / 438.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.206e-05/0.233, allocations: 91.27 kB / 438.2 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.948e-05/0.2331, allocations: 4.672 kB / 438.3 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.2331, allocations: 11.44 kB / 438.3 MB, free: 372 kB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2331, allocations: 0 / 438.3 MB, free: 372 kB / 334.1 MB Notification: Performance of Templates: time 0.003342/0.2364, allocations: 0.8147 MB / 439.1 MB, free: 15.56 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 4.478501363002579]