Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001422/0.001422, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.002075/0.002075, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.493/1.493, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.834e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003014/0.003043, allocations: 1.553 MB / 268.9 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009894/0.004032, allocations: 466.5 kB / 269.3 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.004113, allocations: 4 kB / 269.3 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.247e-05/0.004165, allocations: 3.938 kB / 269.4 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.004298, allocations: 11.86 kB / 269.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.004557, allocations: 35.89 kB / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.004664, allocations: 43.8 kB / 269.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.004762, allocations: 11.98 kB / 269.5 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.004871, allocations: 31.84 kB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.069e-05/0.004922, allocations: 4 kB / 269.5 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.004943, allocations: 4 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.004958, allocations: 7.938 kB / 269.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.005011, allocations: 15.97 kB / 269.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.005045, allocations: 11.94 kB / 269.5 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.005176, allocations: 47.8 kB / 269.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005179, allocations: 0 / 269.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00518, allocations: 0 / 269.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005184, allocations: 0 / 269.6 MB, free: 4.457 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005191/0.005703, allocations: 294.1 kB / 269.9 MB, free: 4.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.005747, allocations: 12.92 kB / 269.9 MB, free: 4.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.005808, allocations: 8.891 kB / 269.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.006054, allocations: 137.6 kB / 270 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.006064, allocations: 384 / 270 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.006077, allocations: 4.375 kB / 270 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.00635, allocations: 93.59 kB / 270.1 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006357, allocations: 4.188 kB / 270.1 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.006366, allocations: 4.375 kB / 270.1 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.006373, allocations: 3.938 kB / 270.1 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.006471, allocations: 19.92 kB / 270.1 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.006809, allocations: 205.4 kB / 270.3 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.006909, allocations: 37.22 kB / 270.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.006968, allocations: 25.77 kB / 270.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.006987, allocations: 0 / 270.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.007028, allocations: 42.44 kB / 270.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.007028, allocations: 0 / 270.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002734/0.007302, allocations: 73.56 kB / 270.5 MB, free: 3.367 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.007374, allocations: 81.11 kB / 270.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.007528, allocations: 137 kB / 270.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.007548, allocations: 25.7 kB / 270.8 MB, free: 3.098 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.007619, allocations: 88.12 kB / 270.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.007631, allocations: 0 / 270.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.00767, allocations: 17.92 kB / 270.9 MB, free: 2.984 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.007852, allocations: 318.8 kB / 271.2 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.007894, allocations: 11.98 kB / 271.2 MB, free: 2.652 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/0.007923, allocations: 4 kB / 271.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.403e-05/0.007997, allocations: 20.84 kB / 271.2 MB, free: 2.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.007998, allocations: 0 / 271.2 MB, free: 2.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001203/0.008118, allocations: 53.56 kB / 271.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.008134, allocations: 8 kB / 271.3 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.008141, allocations: 8.078 kB / 271.3 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.008155, allocations: 0 / 271.3 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.008234, allocations: 7.984 kB / 271.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.008239, allocations: 0 / 271.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.008275, allocations: 3.938 kB / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.008283, allocations: 0 / 271.3 MB, free: 2.539 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 0.000114/0.008397, allocations: 121.8 kB / 271.4 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.008469, allocations: 41.53 kB / 271.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.008503, allocations: 15.77 kB / 271.5 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008504, allocations: 4.031 kB / 271.5 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.008511, allocations: 4 kB / 271.5 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.008513, allocations: 0 / 271.5 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.008683, allocations: 113.3 kB / 271.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.008686, allocations: 4 kB / 271.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.008731, allocations: 4 kB / 271.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.008736, allocations: 7.938 kB / 271.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.008744, allocations: 3.938 kB / 271.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.008745, allocations: 0 / 271.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.008751, allocations: 3.984 kB / 271.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.00896, allocations: 160.4 kB / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.009, allocations: 15.94 kB / 271.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.009017, allocations: 7.875 kB / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.009087, allocations: 4 kB / 271.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.009119, allocations: 0 / 271.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.009123, allocations: 0 / 271.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.314e-05/0.009216, allocations: 107.2 kB / 271.9 MB, free: 1.867 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009216, allocations: 0 / 271.9 MB, free: 1.867 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.009437, allocations: 4 kB / 271.9 MB, free: 1.863 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 (2): * Single equations (assignments): 2 * 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 0.0001224/0.00956, allocations: 103.3 kB / 272 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.009677, allocations: 15.98 kB / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009678, allocations: 0 / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.551e-05/0.009724, allocations: 15.98 kB / 272 MB, free: 1.723 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.01004, allocations: 14.91 kB / 272 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.0104, allocations: 156.9 kB / 272.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.01051, allocations: 79.48 kB / 272.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.919e-05/0.01054, allocations: 4 kB / 272.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.01057, allocations: 12.5 kB / 272.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01057, allocations: 0 / 272.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of Templates: time 0.003108/0.01368, allocations: 0.5083 MB / 272.8 MB, free: 0.9102 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.242278004996479]