Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.0007998/0.0007998, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00369/0.00369, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 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.8523/0.8523, allocations: 177.2 MB / 205 MB, free: 5.727 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.775e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001834/0.001851, allocations: 1.589 MB / 327.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006624/0.002514, allocations: 0.5024 MB / 327.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.002581, allocations: 0 / 327.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.00262, allocations: 7.875 kB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.002739, allocations: 7.938 kB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.002987, allocations: 59.67 kB / 328 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.003073, allocations: 39.86 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.21e-05/0.003155, allocations: 4 kB / 328.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.003258, allocations: 39.83 kB / 328.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.003305, allocations: 19.98 kB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.003318, allocations: 0 / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.331e-05/0.003351, allocations: 4 kB / 328.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.003393, allocations: 11.94 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.003412, allocations: 15.92 kB / 328.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.003524, allocations: 51.81 kB / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003526, allocations: 0 / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003527, allocations: 0 / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.00353, allocations: 0 / 328.2 MB, free: 13.05 MB / 298.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.0003327/0.003863, allocations: 296.9 kB / 328.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.003894, allocations: 8.031 kB / 328.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.76e-05/0.003991, allocations: 24.88 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.004148, allocations: 141.6 kB / 328.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.004155, allocations: 384 / 328.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.004163, allocations: 384 / 328.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.004341, allocations: 93.61 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.004348, allocations: 192 / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.004356, allocations: 4.375 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.004361, allocations: 3.938 kB / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.004401, allocations: 15.98 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.004612, allocations: 213.4 kB / 329 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.004664, allocations: 49.14 kB / 329 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.004691, allocations: 17.78 kB / 329 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.004707, allocations: 3.938 kB / 329 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.004724, allocations: 42.44 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.004725, allocations: 0 / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001539/0.004879, allocations: 77.56 kB / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.004919, allocations: 77.11 kB / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/0.005001, allocations: 138.1 kB / 329.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.005009, allocations: 25.7 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.005043, allocations: 88.14 kB / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.005054, allocations: 0 / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.005081, allocations: 25.66 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.005149, allocations: 310.8 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.005168, allocations: 8.25 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.005184, allocations: 11.98 kB / 329.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.005224, allocations: 20.84 kB / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005226, allocations: 0 / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.793e-05/0.005284, allocations: 49.62 kB / 329.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.005297, allocations: 11.94 kB / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005301, allocations: 0 / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.005311, allocations: 96 / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.005354, allocations: 7.984 kB / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.005358, allocations: 4 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.005372, allocations: 0 / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.005377, allocations: 0 / 329.9 MB, free: 11.11 MB / 298.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 5.532e-05/0.005433, allocations: 113.8 kB / 330 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.005465, allocations: 49.52 kB / 330.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.005489, allocations: 15.77 kB / 330.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.005491, allocations: 0 / 330.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.005495, allocations: 4 kB / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005498, allocations: 4.031 kB / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.005586, allocations: 117.3 kB / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.005586, allocations: 0 / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.005606, allocations: 7.984 kB / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005607, allocations: 0 / 330.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.005615, allocations: 7.938 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.005616, allocations: 3.938 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005616, allocations: 0 / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.691e-05/0.005713, allocations: 160.3 kB / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.005736, allocations: 11.97 kB / 330.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.005748, allocations: 11.94 kB / 330.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-05/0.005778, allocations: 7.938 kB / 330.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.005804, allocations: 0 / 330.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.005808, allocations: 4 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.756e-05/0.005855, allocations: 110.2 kB / 330.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005855, allocations: 3.938 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001348/0.00599, allocations: 4 kB / 330.5 MB, free: 10.43 MB / 298.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 5.763e-05/0.006048, allocations: 99.19 kB / 330.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.006131, allocations: 23.98 kB / 330.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006132, allocations: 0 / 330.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.75e-05/0.006149, allocations: 7.984 kB / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.006355, allocations: 15.97 kB / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.006587, allocations: 183.8 kB / 330.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.081e-05/0.006638, allocations: 75.33 kB / 330.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.00666, allocations: 8.719 kB / 331 MB, free: 9.961 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.006661, allocations: 4 kB / 331 MB, free: 9.957 MB / 298.7 MB Notification: Performance of Templates: time 0.001343/0.008004, allocations: 0.7137 MB / 331.7 MB, free: 9.242 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 3.9436338394880295]