Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001845/0.001845, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002175/0.002175, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.92 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2868, allocations: 53.37 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003266/0.2901, allocations: 1.59 MB / 433.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2912, allocations: 0.4948 MB / 433.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.811e-05/0.2913, allocations: 7.938 kB / 433.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.812e-05/0.2913, allocations: 7.922 kB / 433.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.2915, allocations: 7.875 kB / 433.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.2918, allocations: 59.81 kB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2919, allocations: 43.8 kB / 433.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.292, allocations: 19.97 kB / 433.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.2922, allocations: 23.88 kB / 433.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.2922, allocations: 23.86 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2922, allocations: 0 / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.914e-05/0.2923, allocations: 12 kB / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.2923, allocations: 15.97 kB / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.2924, allocations: 23.8 kB / 433.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.2925, allocations: 58 kB / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2926, allocations: 0 / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2926, allocations: 0 / 434 MB, free: 4.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.2926, allocations: 4 kB / 434 MB, free: 4.289 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004914/0.293, allocations: 301.9 kB / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2931, allocations: 12.03 kB / 434.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.2932, allocations: 16.88 kB / 434.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.2935, allocations: 144.9 kB / 434.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2935, allocations: 4.375 kB / 434.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2935, allocations: 384 / 434.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.2938, allocations: 125.3 kB / 434.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2938, allocations: 3.984 kB / 434.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.2938, allocations: 4 kB / 434.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2938, allocations: 0 / 434.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.662e-05/0.2939, allocations: 23.92 kB / 434.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.2942, allocations: 209.5 kB / 434.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.2944, allocations: 65.08 kB / 434.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.636e-05/0.2944, allocations: 25.77 kB / 434.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.2945, allocations: 4 kB / 434.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2945, allocations: 30.56 kB / 434.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.2945, allocations: 4 kB / 434.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002703/0.2948, allocations: 85.56 kB / 435 MB, free: 3.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.2948, allocations: 81.09 kB / 435.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.295, allocations: 134.2 kB / 435.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.295, allocations: 25.7 kB / 435.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.2951, allocations: 92.08 kB / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.2951, allocations: 15.88 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.2951, allocations: 13.72 kB / 435.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2953, allocations: 322.8 kB / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.2953, allocations: 12.11 kB / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.2954, allocations: 35.42 kB / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.773e-05/0.2955, allocations: 47.36 kB / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2955, allocations: 0 / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001519/0.2956, allocations: 77.58 kB / 435.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2956, allocations: 7.938 kB / 435.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2957, allocations: 7.984 kB / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2957, allocations: 0 / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.2957, allocations: 8 kB / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2957, allocations: 0 / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.2958, allocations: 7.938 kB / 435.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.2958, allocations: 3.984 kB / 435.9 MB, free: 2.148 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 0.0001206/0.2959, allocations: 121.8 kB / 436 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/0.296, allocations: 49.64 kB / 436.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.296, allocations: 16.41 kB / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.296, allocations: 0 / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.296, allocations: 4 kB / 436.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.296, allocations: 0 / 436.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2962, allocations: 121.3 kB / 436.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.2962, allocations: 3.938 kB / 436.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.2962, allocations: 8 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2962, allocations: 0 / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2962, allocations: 0 / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2962, allocations: 3.938 kB / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2962, allocations: 0 / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.2965, allocations: 176.7 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.2965, allocations: 19.88 kB / 436.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2965, allocations: 0 / 436.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.2966, allocations: 7.984 kB / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.2966, allocations: 0 / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2966, allocations: 4 kB / 436.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.2967, allocations: 110 kB / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2967, allocations: 0 / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.2969, allocations: 8 kB / 436.5 MB, free: 1.438 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001023/0.297, allocations: 103.2 kB / 436.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.2972, allocations: 27.98 kB / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2972, allocations: 0 / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.2972, allocations: 15.92 kB / 436.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2975, allocations: 27.89 kB / 436.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.2979, allocations: 163.7 kB / 436.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.929e-05/0.2979, allocations: 83.58 kB / 436.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.298, allocations: 0 / 436.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.298, allocations: 15.44 kB / 437 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.298, allocations: 0 / 437 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of Templates: time 0.00288/0.3009, allocations: 0.6124 MB / 437.6 MB, free: 368 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.672194345854223]