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.001838/0.001838, 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.002317/0.002317, 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.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.002251/0.002251, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2312, allocations: 53.35 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003/0.2342, allocations: 1.6 MB / 433.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.2352, allocations: 0.4948 MB / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.518e-05/0.2353, allocations: 7.938 kB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.804e-05/0.2353, allocations: 3.938 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.2354, allocations: 7.922 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.2357, allocations: 63.06 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2358, allocations: 43.8 kB / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.542e-05/0.2359, allocations: 15.98 kB / 434.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.236, allocations: 27.91 kB / 434.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.2361, allocations: 23.86 kB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.2361, allocations: 4 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.516e-05/0.2361, allocations: 11.94 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.2362, allocations: 15.92 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.2362, allocations: 15.88 kB / 434.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.2364, allocations: 62.41 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2364, allocations: 3.938 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2364, allocations: 4 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2364, allocations: 0 / 434.7 MB, free: 4.328 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.000463/0.2368, allocations: 294 kB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2369, allocations: 12.03 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.237, allocations: 20.88 kB / 435 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.2372, allocations: 144.8 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2372, allocations: 8.312 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.2373, allocations: 4.375 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.2375, allocations: 117.3 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2375, allocations: 7.938 kB / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.2375, allocations: 0 / 435.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2376, allocations: 4 kB / 435.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.2376, allocations: 19.98 kB / 435.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.2379, allocations: 205.4 kB / 435.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.2381, allocations: 61.14 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.2382, allocations: 29.7 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.2382, allocations: 4 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2382, allocations: 42.55 kB / 435.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2382, allocations: 0 / 435.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000252/0.2385, allocations: 81.56 kB / 435.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.2385, allocations: 77.11 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.2386, allocations: 134.2 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2387, allocations: 33.7 kB / 436 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.2387, allocations: 92.06 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.2387, allocations: 7.891 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.2388, allocations: 17.72 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2389, allocations: 323 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.2389, allocations: 8 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.239, allocations: 35.42 kB / 436.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.2391, allocations: 47.36 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2391, allocations: 0 / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001561/0.2393, allocations: 81.44 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2393, allocations: 6.656 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.2393, allocations: 4 kB / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2393, allocations: 0 / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.2394, allocations: 11.98 kB / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.2394, allocations: 0 / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.2394, allocations: 4 kB / 436.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.2394, allocations: 0 / 436.6 MB, free: 2.203 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 9.189e-05/0.2395, allocations: 129.8 kB / 436.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.2396, allocations: 53.86 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.2396, allocations: 16.38 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2396, allocations: 0 / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2396, allocations: 3.984 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2396, allocations: 0 / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.2398, allocations: 121.3 kB / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2398, allocations: 3.938 kB / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.2398, allocations: 11.98 kB / 437 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2398, allocations: 0 / 437 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.2398, allocations: 0 / 437 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2398, allocations: 4 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2398, allocations: 7.938 kB / 437 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.24, allocations: 168.3 kB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.2401, allocations: 19.88 kB / 437.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.2401, allocations: 4 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.2402, allocations: 0 / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.2402, allocations: 4 kB / 437.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.2402, allocations: 4 kB / 437.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.2403, allocations: 110.3 kB / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2403, allocations: 0 / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.2405, allocations: 11.94 kB / 437.3 MB, free: 1.473 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 8.409e-05/0.2406, allocations: 95.25 kB / 437.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.2407, allocations: 35.91 kB / 437.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2407, allocations: 0 / 437.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.2408, allocations: 8 kB / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2411, allocations: 23.95 kB / 437.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.2414, allocations: 171.9 kB / 437.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.789e-05/0.2415, allocations: 79.33 kB / 437.7 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.969e-05/0.2415, allocations: 0 / 437.7 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.2415, allocations: 15.42 kB / 437.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2415, allocations: 0 / 437.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of Templates: time 0.002895/0.2444, allocations: 0.6062 MB / 438.3 MB, free: 400 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/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.185745130002033]