Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001784/0.001784, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002196/0.002196, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 59.91 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2437, allocations: 53.41 MB / 432.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002841/0.2465, allocations: 1.59 MB / 434 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.2475, allocations: 0.4987 MB / 434.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.2475, allocations: 4 kB / 434.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.2476, allocations: 11.92 kB / 434.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2477, allocations: 7.875 kB / 434.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.248, allocations: 59.19 kB / 434.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2481, allocations: 39.86 kB / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.2482, allocations: 15.97 kB / 434.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2483, allocations: 31.86 kB / 434.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.2483, allocations: 19.86 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.2483, allocations: 4 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.838e-05/0.2484, allocations: 8 kB / 434.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.2484, allocations: 19.92 kB / 434.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.2485, allocations: 23.8 kB / 434.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2486, allocations: 62.41 kB / 434.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2486, allocations: 0 / 434.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2486, allocations: 3.938 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.2486, allocations: 0 / 434.8 MB, free: 4.164 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.0004266/0.249, allocations: 298 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2491, allocations: 15.98 kB / 435.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.2492, allocations: 20.81 kB / 435.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.2494, allocations: 141.1 kB / 435.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2494, allocations: 4.375 kB / 435.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.2494, allocations: 4.375 kB / 435.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.2497, allocations: 121.3 kB / 435.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.2497, allocations: 0 / 435.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2497, allocations: 0 / 435.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2497, allocations: 4 kB / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.2498, allocations: 23.92 kB / 435.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.2501, allocations: 205.5 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.2503, allocations: 69.08 kB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.2503, allocations: 25.77 kB / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.2504, allocations: 0 / 435.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2504, allocations: 38.56 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2504, allocations: 0 / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002348/0.2506, allocations: 85.55 kB / 435.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.2507, allocations: 81.11 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2508, allocations: 134.2 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2508, allocations: 29.64 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.2509, allocations: 100.1 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.2509, allocations: 3.953 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.2509, allocations: 21.66 kB / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2511, allocations: 318.8 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.2511, allocations: 8 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.2512, allocations: 39.72 kB / 436.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.923e-05/0.2513, allocations: 55.36 kB / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2513, allocations: 0 / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001341/0.2514, allocations: 73.5 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2514, allocations: 10.94 kB / 436.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2514, allocations: 3.938 kB / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2514, allocations: 4 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.2515, allocations: 8 kB / 436.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2515, allocations: 3.938 kB / 436.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.2515, allocations: 7.984 kB / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.2515, allocations: 0 / 436.7 MB, free: 2.02 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 8.618e-05/0.2516, allocations: 121.8 kB / 436.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.2517, allocations: 49.64 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.2517, allocations: 8.344 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2517, allocations: 8 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2517, allocations: 0 / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2517, allocations: 0 / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2519, allocations: 117.3 kB / 437 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2519, allocations: 7.938 kB / 437 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.2519, allocations: 4 kB / 437 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2519, allocations: 4 kB / 437 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2519, allocations: 7.922 kB / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2519, allocations: 0 / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2519, allocations: 0 / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.2521, allocations: 172.3 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.2522, allocations: 15.89 kB / 437.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2522, allocations: 3.984 kB / 437.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.2523, allocations: 4 kB / 437.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.2523, allocations: 0 / 437.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.2523, allocations: 4 kB / 437.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.2524, allocations: 114 kB / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2524, allocations: 0 / 437.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.2526, allocations: 4 kB / 437.3 MB, free: 1.316 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 9.05e-05/0.2527, allocations: 107.1 kB / 437.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.2528, allocations: 27.97 kB / 437.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2528, allocations: 0 / 437.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.2528, allocations: 15.94 kB / 437.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.2532, allocations: 19.95 kB / 437.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.2535, allocations: 197.4 kB / 437.7 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/0.2536, allocations: 79.64 kB / 437.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.2536, allocations: 7.438 kB / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2536, allocations: 0 / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of Templates: time 0.002277/0.2559, allocations: 0.782 MB / 438.6 MB, free: 24 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.763661585748196]