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.001076/0.001076, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001228/0.001228, allocations: 161.4 kB / 24.56 MB, free: 20 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 0.9999/0.9999, allocations: 177.1 MB / 205 MB, free: 5.285 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.363e-06/1.363e-06, allocations: 0 / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.856e-05, allocations: 2.312 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002044/0.002063, allocations: 1.641 MB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.002784, allocations: 0.5296 MB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.674e-05/0.00286, allocations: 0 / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.016e-05/0.002911, allocations: 7.875 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.003043, allocations: 8 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.003311, allocations: 63.69 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.003402, allocations: 39.86 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.00349, allocations: 11.97 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.003614, allocations: 43.78 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.003666, allocations: 19.91 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.003684, allocations: 4 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-05/0.003724, allocations: 4 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.003768, allocations: 8 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.003797, allocations: 15.92 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.003927, allocations: 47.83 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.003929, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.00393, allocations: 0 / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.003935, allocations: 0 / 275.4 MB, free: 14.93 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.000429/0.004364, allocations: 408.2 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.004407, allocations: 8.031 kB / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.004541, allocations: 24.88 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.004707, allocations: 144.4 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.004717, allocations: 4.375 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.004731, allocations: 8.375 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.004974, allocations: 129.6 kB / 276.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.004983, allocations: 192 / 276.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004993, allocations: 384 / 276.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.005002, allocations: 3.938 kB / 276.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.005028, allocations: 11.94 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.005287, allocations: 267.5 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.00542, allocations: 78.09 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.005452, allocations: 23.44 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.005471, allocations: 3.984 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.005492, allocations: 41.33 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005493, allocations: 0 / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001405/0.005633, allocations: 61.58 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.005679, allocations: 81.11 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.005774, allocations: 193 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.005784, allocations: 25.7 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.005831, allocations: 143 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.005845, allocations: 3.953 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.005871, allocations: 23.38 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.005987, allocations: 492.1 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.006004, allocations: 7.922 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-06/0.006011, allocations: 0 / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.417e-05/0.006035, allocations: 11.69 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006037, allocations: 0 / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.542e-05/0.006082, allocations: 41.66 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.006096, allocations: 15.97 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.0061, allocations: 0 / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.006114, allocations: 0 / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.637e-05/0.00616, allocations: 11.98 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.006166, allocations: 0 / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.006181, allocations: 0 / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.006189, allocations: 4 kB / 277.6 MB, free: 12.46 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 6.124e-05/0.00625, allocations: 156.5 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.006294, allocations: 53.58 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.006324, allocations: 12.34 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.006326, allocations: 4 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.00633, allocations: 0 / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006332, allocations: 0 / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.006434, allocations: 128.6 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006435, allocations: 0 / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.006461, allocations: 12 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006462, allocations: 0 / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.006471, allocations: 3.938 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006472, allocations: 0 / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006473, allocations: 3.984 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.006578, allocations: 211.5 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.006602, allocations: 15.95 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.006614, allocations: 11.92 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.006644, allocations: 0 / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.006674, allocations: 0 / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.006677, allocations: 4 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.006728, allocations: 139.2 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006728, allocations: 0 / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.00687, allocations: 8 kB / 278.4 MB, free: 11.63 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 6.703e-05/0.006937, allocations: 99.23 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.453e-05/0.007012, allocations: 23.62 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.007013, allocations: 0 / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.007026, allocations: 7.688 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.007265, allocations: 21.14 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.007698, allocations: 184.7 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.007735, allocations: 63.28 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.936e-05/0.007755, allocations: 8.094 kB / 278.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.007781, allocations: 16.5 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.007782, allocations: 0 / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002082/0.009864, allocations: 0.55 MB / 279.4 MB, free: 10.6 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.921094147954136]