Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 146.2 kB / 24.89 MB, free: 8.785 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8716/0.8716, allocations: 173.4 MB / 201.5 MB, free: 8.242 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.47e-05, allocations: 5.266 kB / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002138/0.002163, allocations: 1.589 MB / 270.1 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.002471, allocations: 147.4 kB / 270.2 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.002538, allocations: 0 / 270.2 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.002583, allocations: 9.609 kB / 270.2 MB, free: 8.055 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.002699, allocations: 15.86 kB / 270.2 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.002862, allocations: 35.84 kB / 270.3 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.002937, allocations: 35.84 kB / 270.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.003003, allocations: 8.656 kB / 270.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.003048, allocations: 15.98 kB / 270.3 MB, free: 7.945 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.003088, allocations: 20.59 kB / 270.4 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.003107, allocations: 0 / 270.4 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.003118, allocations: 5.969 kB / 270.4 MB, free: 7.922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.00316, allocations: 11.98 kB / 270.4 MB, free: 7.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.003182, allocations: 7.938 kB / 270.4 MB, free: 7.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.299e-05/0.003275, allocations: 39.78 kB / 270.4 MB, free: 7.863 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003277, allocations: 0 / 270.4 MB, free: 7.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003278, allocations: 1.344 kB / 270.4 MB, free: 7.863 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.003281, allocations: 0 / 270.4 MB, free: 7.863 MB / 250.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.0002877/0.003569, allocations: 264.7 kB / 270.7 MB, free: 7.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.003603, allocations: 8.656 kB / 270.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.003626, allocations: 8.938 kB / 270.7 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.003763, allocations: 139 kB / 270.8 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.003771, allocations: 4.312 kB / 270.8 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.003781, allocations: 9.969 kB / 270.8 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.003945, allocations: 115.6 kB / 271 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.00395, allocations: 192 / 271 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.003955, allocations: 384 / 271 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.00396, allocations: 384 / 271 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.409e-05/0.003974, allocations: 12.67 kB / 271 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.004124, allocations: 154.1 kB / 271.1 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.004211, allocations: 45.17 kB / 271.2 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.00423, allocations: 18.53 kB / 271.2 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.004244, allocations: 7.922 kB / 271.2 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.00426, allocations: 35.06 kB / 271.2 MB, free: 6.941 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004261, allocations: 4 kB / 271.2 MB, free: 6.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.495e-05/0.004356, allocations: 53.8 kB / 271.3 MB, free: 6.879 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.004392, allocations: 85.05 kB / 271.4 MB, free: 6.777 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.608e-05/0.004448, allocations: 129.5 kB / 271.5 MB, free: 6.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.004458, allocations: 29.7 kB / 271.5 MB, free: 6.605 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.004494, allocations: 88.06 kB / 271.6 MB, free: 6.516 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/0.004504, allocations: 4 kB / 271.6 MB, free: 6.512 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.004524, allocations: 13.67 kB / 271.6 MB, free: 6.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.00459, allocations: 318.8 kB / 271.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-06/0.004595, allocations: 0 / 271.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.0046, allocations: 4.125 kB / 271.9 MB, free: 6.168 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.571e-05/0.004615, allocations: 16.78 kB / 272 MB, free: 6.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004617, allocations: 0 / 272 MB, free: 6.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.464e-05/0.004652, allocations: 33.69 kB / 272 MB, free: 6.109 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.004663, allocations: 10.34 kB / 272 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.004667, allocations: 0 / 272 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.004675, allocations: 0 / 272 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.188e-05/0.004707, allocations: 3.938 kB / 272 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.00471, allocations: 4 kB / 272 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.058e-05/0.00472, allocations: 96 / 272 MB, free: 6.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.004724, allocations: 4 kB / 272 MB, free: 6.09 MB / 250.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 4.646e-05/0.00477, allocations: 120.6 kB / 272.1 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.004801, allocations: 41.62 kB / 272.2 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.004825, allocations: 8.328 kB / 272.2 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.004827, allocations: 4 kB / 272.2 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004831, allocations: 3.938 kB / 272.2 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004833, allocations: 0 / 272.2 MB, free: 5.891 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.445e-05/0.004908, allocations: 73.89 kB / 272.3 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.00491, allocations: 3.984 kB / 272.3 MB, free: 5.797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.004932, allocations: 8 kB / 272.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004933, allocations: 4 kB / 272.3 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-06/0.004936, allocations: 0 / 272.3 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004937, allocations: 0 / 272.3 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004937, allocations: 0 / 272.3 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.1e-05/0.004998, allocations: 144.3 kB / 272.4 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.00502, allocations: 7.953 kB / 272.4 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.005029, allocations: 8 kB / 272.4 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.00506, allocations: 7.984 kB / 272.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.005077, allocations: 0 / 272.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.005079, allocations: 0 / 272.4 MB, free: 5.602 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.723e-05/0.005096, allocations: 28.81 kB / 272.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005096, allocations: 0 / 272.5 MB, free: 5.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001132/0.005209, allocations: 4 kB / 272.5 MB, free: 5.566 MB / 250.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.121e-05/0.005271, allocations: 84.41 kB / 272.6 MB, free: 5.477 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.218e-05/0.005313, allocations: 16.84 kB / 272.6 MB, free: 5.457 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.005316, allocations: 4 kB / 272.6 MB, free: 5.453 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-06/0.005324, allocations: 8.797 kB / 272.6 MB, free: 5.441 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.005475, allocations: 16.88 kB / 272.6 MB, free: 5.422 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001936/0.005669, allocations: 151.3 kB / 272.7 MB, free: 5.246 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.005702, allocations: 63.34 kB / 272.8 MB, free: 5.164 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.469e-05/0.005717, allocations: 3.906 kB / 272.8 MB, free: 5.16 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.005757, allocations: 51.38 kB / 272.9 MB, free: 5.109 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005757, allocations: 0 / 272.9 MB, free: 5.109 MB / 250.7 MB Notification: Performance of Templates: time 0.001851/0.007608, allocations: 0.5472 MB / 273.4 MB, free: 4.578 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.4374763718806207]