Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001506/0.001506, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001453/0.001453, allocations: 153.4 kB / 24.26 MB, free: 180 kB / 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 1.456/1.456, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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: 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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.268e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003335/0.003368, allocations: 1.68 MB / 269 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004905/0.003858, allocations: 171.3 kB / 269.2 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.003939, allocations: 4 kB / 269.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.003993, allocations: 7.875 kB / 269.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.004126, allocations: 11.92 kB / 269.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.004364, allocations: 43.83 kB / 269.3 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.004496, allocations: 67.72 kB / 269.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.004615, allocations: 15.98 kB / 269.3 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.004686, allocations: 31.91 kB / 269.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.004741, allocations: 23.91 kB / 269.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.004765, allocations: 4 kB / 269.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.004777, allocations: 8 kB / 269.4 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.004829, allocations: 11.94 kB / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.004876, allocations: 23.91 kB / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.005016, allocations: 67.72 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005018, allocations: 0 / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.005019, allocations: 4 kB / 269.5 MB, free: 4.523 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.005022, allocations: 0 / 269.5 MB, free: 4.523 MB / 250.7 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.0005542/0.005576, allocations: 309.9 kB / 269.8 MB, free: 4.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.005618, allocations: 12.92 kB / 269.8 MB, free: 4.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.005672, allocations: 16.84 kB / 269.8 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.005911, allocations: 149.5 kB / 270 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.005929, allocations: 8.375 kB / 270 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.005943, allocations: 4.375 kB / 270 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.006327, allocations: 166.3 kB / 270.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.006336, allocations: 192 / 270.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.006347, allocations: 4.375 kB / 270.2 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.006352, allocations: 4.375 kB / 270.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.00648, allocations: 39.91 kB / 270.2 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.006866, allocations: 297.6 kB / 270.5 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.007127, allocations: 107.9 kB / 270.6 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.007242, allocations: 58.61 kB / 270.7 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.007265, allocations: 4 kB / 270.7 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.007296, allocations: 34.5 kB / 270.7 MB, free: 3.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.41e-07/0.007297, allocations: 0 / 270.7 MB, free: 3.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003703/0.007668, allocations: 141.4 kB / 270.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.00776, allocations: 110.9 kB / 270.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.007909, allocations: 136.5 kB / 271.1 MB, free: 2.754 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.007932, allocations: 29.7 kB / 271.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.008006, allocations: 100 kB / 271.2 MB, free: 2.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.00802, allocations: 3.953 kB / 271.2 MB, free: 2.613 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.008052, allocations: 13.72 kB / 271.2 MB, free: 2.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.008225, allocations: 314.8 kB / 271.5 MB, free: 2.277 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.527e-05/0.00827, allocations: 16.23 kB / 271.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.008308, allocations: 17.72 kB / 271.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.58e-05/0.008384, allocations: 25.7 kB / 271.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008385, allocations: 0 / 271.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001231/0.008508, allocations: 61.56 kB / 271.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.008524, allocations: 7.938 kB / 271.7 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.008529, allocations: 8.125 kB / 271.7 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.008541, allocations: 0 / 271.7 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.008579, allocations: 4 kB / 271.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.008583, allocations: 0 / 271.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.008612, allocations: 4 kB / 271.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.008619, allocations: 3.984 kB / 271.7 MB, free: 2.113 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001055/0.008725, allocations: 121.8 kB / 271.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.009114, allocations: 85.52 kB / 271.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.009153, allocations: 8.781 kB / 271.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.009158, allocations: 4 kB / 271.9 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.009162, allocations: 4 kB / 271.9 MB, free: 1.875 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.009167, allocations: 3.984 kB / 271.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.009388, allocations: 117.3 kB / 272 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.009394, allocations: 8 kB / 272 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.623e-05/0.00947, allocations: 19.98 kB / 272 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.009474, allocations: 4 kB / 272 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.009484, allocations: 3.938 kB / 272 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.009485, allocations: 3.938 kB / 272 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.009489, allocations: 4 kB / 272.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.00991, allocations: 316.3 kB / 272.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.009959, allocations: 23.88 kB / 272.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.009973, allocations: 0 / 272.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01007, allocations: 8 kB / 272.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.01011, allocations: 3.938 kB / 272.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.01012, allocations: 7.938 kB / 272.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.01022, allocations: 109.9 kB / 272.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01022, allocations: 0 / 272.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.01047, allocations: 8 kB / 272.5 MB, free: 1.195 MB / 250.7 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 0.0001157/0.01059, allocations: 103.2 kB / 272.6 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.01074, allocations: 39.91 kB / 272.7 MB, free: 1.047 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01074, allocations: 0 / 272.7 MB, free: 1.047 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.01078, allocations: 8 kB / 272.7 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.0112, allocations: 42.14 kB / 272.7 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.01162, allocations: 213.2 kB / 272.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.01173, allocations: 99.45 kB / 273 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.069e-05/0.01175, allocations: 0 / 273 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.01179, allocations: 12.5 kB / 273 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01179, allocations: 0 / 273 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of Templates: time 0.003613/0.0154, allocations: 0.6938 MB / 273.7 MB, free: 15.94 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.232271049986593]