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.0009213/0.0009213, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001004/0.001004, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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.052/1.052, allocations: 177.2 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 0 / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.915e-05, allocations: 2.312 kB / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002369/0.002398, allocations: 1.63 MB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.003295, allocations: 0.5297 MB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.003375, allocations: 0 / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.369e-05/0.003429, allocations: 7.922 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.003579, allocations: 15.86 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.003879, allocations: 55.75 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.003983, allocations: 43.8 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004085, allocations: 11.98 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.004214, allocations: 43.84 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.004262, allocations: 7.984 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.004279, allocations: 4 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.004318, allocations: 8 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.004367, allocations: 19.91 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.004399, allocations: 7.938 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.004529, allocations: 47.77 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.004532, allocations: 0 / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004533, allocations: 0 / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.004537, allocations: 0 / 275.4 MB, free: 15.07 MB / 266.7 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.0004618/0.004999, allocations: 412.2 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.005035, allocations: 12.03 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.005162, allocations: 16.89 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.005324, allocations: 147.8 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.005334, allocations: 8.312 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.005345, allocations: 12.31 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.00557, allocations: 129.6 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.005578, allocations: 192 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005589, allocations: 384 / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.005598, allocations: 3.938 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.005627, allocations: 19.97 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.005926, allocations: 267.4 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.006084, allocations: 66.17 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.006125, allocations: 31.38 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.006143, allocations: 0 / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.006171, allocations: 41.33 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.006172, allocations: 4 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001684/0.00634, allocations: 57.58 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.006397, allocations: 89.09 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.006503, allocations: 185.9 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006514, allocations: 29.7 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.00657, allocations: 134.9 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.006587, allocations: 3.953 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.006617, allocations: 23.36 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.006759, allocations: 496.1 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.006771, allocations: 128 / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.006778, allocations: 4 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.499e-05/0.006803, allocations: 15.62 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.006805, allocations: 0 / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.844e-05/0.006854, allocations: 41.64 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006867, allocations: 7.938 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.006871, allocations: 0 / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.006891, allocations: 0 / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.00695, allocations: 8 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.006958, allocations: 0 / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.6e-05/0.006974, allocations: 4.094 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.006981, allocations: 4 kB / 277.6 MB, free: 12.59 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 7.581e-05/0.007057, allocations: 160.6 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.007101, allocations: 49.53 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.007134, allocations: 16.33 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007137, allocations: 3.938 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.007142, allocations: 0 / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.007146, allocations: 0 / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.007261, allocations: 128.6 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007263, allocations: 0 / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.007295, allocations: 15.98 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.007297, allocations: 0 / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.007306, allocations: 3.938 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007307, allocations: 0 / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.007309, allocations: 4 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.007441, allocations: 211.5 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.007469, allocations: 15.94 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.007482, allocations: 4.219 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.00751, allocations: 0 / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.007549, allocations: 8 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.007557, allocations: 3.984 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.843e-05/0.007616, allocations: 146.3 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007616, allocations: 0 / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.007757, allocations: 8 kB / 278.4 MB, free: 11.76 MB / 266.7 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 7.829e-05/0.007835, allocations: 98.05 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.397e-05/0.007929, allocations: 27.61 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007931, allocations: 0 / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.007942, allocations: 7.688 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.008175, allocations: 20.98 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.008599, allocations: 180.7 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.712e-05/0.008636, allocations: 63.28 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.008655, allocations: 0 / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.008684, allocations: 16.5 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008684, allocations: 0 / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of Templates: time 0.002276/0.01096, allocations: 0.5798 MB / 279.4 MB, free: 10.71 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.779247100930661]