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.00191/0.00191, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002373/0.002373, allocations: 219.7 kB / 23.73 MB, free: 4.16 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.002327/0.002327, allocations: 59.84 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2786, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00316/0.2817, allocations: 1.697 MB / 433.3 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004615/0.2822, allocations: 159.4 kB / 433.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.273e-05/0.2823, allocations: 0 / 433.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.666e-05/0.2824, allocations: 11.86 kB / 433.4 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.2825, allocations: 15.92 kB / 433.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.2828, allocations: 39.84 kB / 433.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.2829, allocations: 63.83 kB / 433.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.2831, allocations: 19.98 kB / 433.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.2831, allocations: 19.92 kB / 433.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.2832, allocations: 23.86 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.2832, allocations: 4 kB / 433.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.2832, allocations: 7.938 kB / 433.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.2833, allocations: 15.97 kB / 433.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.2833, allocations: 27.81 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2834, allocations: 77.78 kB / 433.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2834, allocations: 0 / 433.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2834, allocations: 4 kB / 433.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2835, allocations: 0 / 433.8 MB, free: 4.531 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.0005182/0.284, allocations: 316.9 kB / 434.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.284, allocations: 12.03 kB / 434.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.284, allocations: 8.891 kB / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2843, allocations: 138.3 kB / 434.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2843, allocations: 8.375 kB / 434.2 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.2843, allocations: 4.375 kB / 434.2 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.2847, allocations: 168.8 kB / 434.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2847, allocations: 4.188 kB / 434.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2847, allocations: 7.938 kB / 434.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2847, allocations: 0 / 434.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.2848, allocations: 35.91 kB / 434.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.2852, allocations: 309.6 kB / 434.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.2855, allocations: 115.8 kB / 434.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2856, allocations: 58.55 kB / 434.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.2856, allocations: 0 / 434.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2856, allocations: 34.56 kB / 435 MB, free: 3.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.2856, allocations: 0 / 435 MB, free: 3.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003363/0.286, allocations: 125.5 kB / 435.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.286, allocations: 110.8 kB / 435.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2862, allocations: 134.1 kB / 435.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2862, allocations: 29.7 kB / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.2862, allocations: 96.12 kB / 435.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.2862, allocations: 3.953 kB / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.2863, allocations: 33.66 kB / 435.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2864, allocations: 314.8 kB / 435.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.2865, allocations: 15.98 kB / 435.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.2866, allocations: 79.66 kB / 435.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.2867, allocations: 91.59 kB / 436 MB, free: 2.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2867, allocations: 0 / 436 MB, free: 2.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001864/0.2869, allocations: 113.5 kB / 436.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2869, allocations: 6.656 kB / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2869, allocations: 4 kB / 436.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2869, allocations: 0 / 436.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.287, allocations: 19.98 kB / 436.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.287, allocations: 4 kB / 436.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.2871, allocations: 15.89 kB / 436.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.2871, allocations: 4 kB / 436.1 MB, free: 1.879 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 9.788e-05/0.2872, allocations: 125.9 kB / 436.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.2873, allocations: 85.97 kB / 436.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.2873, allocations: 12.7 kB / 436.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2873, allocations: 7.938 kB / 436.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2873, allocations: 0 / 436.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2873, allocations: 0 / 436.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.2875, allocations: 121.2 kB / 436.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.2875, allocations: 11.92 kB / 436.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.2876, allocations: 15.94 kB / 436.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2876, allocations: 4 kB / 436.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2876, allocations: 3.938 kB / 436.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2876, allocations: 7.984 kB / 436.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2876, allocations: 4 kB / 436.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.288, allocations: 312.2 kB / 436.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.2881, allocations: 23.94 kB / 436.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.2881, allocations: 4 kB / 436.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.2882, allocations: 3.938 kB / 436.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.2882, allocations: 15.97 kB / 436.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2882, allocations: 0 / 436.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.966e-05/0.2883, allocations: 111.3 kB / 437 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2883, allocations: 0 / 437 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.2886, allocations: 8 kB / 437 MB, free: 0.9453 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 9.79e-05/0.2887, allocations: 99.23 kB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.2888, allocations: 59.84 kB / 437.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2889, allocations: 0 / 437.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.207e-05/0.2889, allocations: 20.56 kB / 437.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.2893, allocations: 36 kB / 437.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.2897, allocations: 195.7 kB / 437.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.176e-05/0.2898, allocations: 87.22 kB / 437.5 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.2898, allocations: 12.66 kB / 437.5 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.2899, allocations: 15.44 kB / 437.5 MB, free: 376 kB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2899, allocations: 4.062 kB / 437.5 MB, free: 372 kB / 334.1 MB Notification: Performance of Templates: time 0.003353/0.2932, allocations: 0.7746 MB / 438.3 MB, free: 15.6 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/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.5635419599711895]