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.0009955/0.0009955, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001071/0.001071, allocations: 165.9 kB / 25.61 MB, free: 8.871 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.9241/0.9241, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.923e-06/1.923e-06, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.211e-05, allocations: 5.547 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003038/0.00306, allocations: 1.601 MB / 275.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.003975, allocations: 0.5084 MB / 276.3 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.004063, allocations: 3.938 kB / 276.3 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.491e-05/0.004118, allocations: 8.5 kB / 276.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.004264, allocations: 9.781 kB / 276.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.004556, allocations: 51.81 kB / 276.4 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.004667, allocations: 47.78 kB / 276.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.004759, allocations: 15.89 kB / 276.4 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.004892, allocations: 27.86 kB / 276.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.004948, allocations: 21.84 kB / 276.5 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.004963, allocations: 0 / 276.5 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.00501, allocations: 8 kB / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.005055, allocations: 15.92 kB / 276.5 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.005075, allocations: 4 kB / 276.5 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.005201, allocations: 40.42 kB / 276.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005203, allocations: 4 kB / 276.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.005204, allocations: 0 / 276.6 MB, free: 2.031 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.005208, allocations: 3.938 kB / 276.6 MB, free: 2.027 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.0004103/0.005618, allocations: 396.3 kB / 277 MB, free: 1.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.005657, allocations: 12.03 kB / 277 MB, free: 1.594 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.00579, allocations: 16.89 kB / 277 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.00597, allocations: 148.4 kB / 277.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.005982, allocations: 4.375 kB / 277.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.005991, allocations: 4.375 kB / 277.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.006164, allocations: 105.6 kB / 277.2 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.006173, allocations: 192 / 277.2 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.00618, allocations: 384 / 277.2 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006187, allocations: 3.938 kB / 277.2 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.006207, allocations: 8 kB / 277.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.006449, allocations: 252 kB / 277.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.947e-05/0.006508, allocations: 54.17 kB / 277.6 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.006529, allocations: 19.38 kB / 277.6 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.006545, allocations: 4 kB / 277.6 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.006571, allocations: 41.39 kB / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.006572, allocations: 0 / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.000148/0.00672, allocations: 49.56 kB / 277.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.006766, allocations: 77.11 kB / 277.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.006882, allocations: 200.9 kB / 277.9 MB, free: 472 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.006895, allocations: 25.7 kB / 278 MB, free: 440 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.00695, allocations: 134.9 kB / 278.1 MB, free: 300 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.006964, allocations: 256 / 278.1 MB, free: 300 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.007005, allocations: 31.31 kB / 278.1 MB, free: 260 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.007154, allocations: 0.4883 MB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-06/0.007164, allocations: 0 / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.197e-06/0.007173, allocations: 4 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.007198, allocations: 11.69 kB / 278.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.0072, allocations: 0 / 278.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.825e-05/0.007258, allocations: 37.64 kB / 278.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.007278, allocations: 4 kB / 278.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.007287, allocations: 7.922 kB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.007296, allocations: 4.094 kB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.528e-05/0.007352, allocations: 7.984 kB / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.007354, allocations: 0 / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.007376, allocations: 0 / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.007381, allocations: 4 kB / 278.7 MB, free: 15.66 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.706e-05/0.007458, allocations: 152.6 kB / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.007511, allocations: 45.58 kB / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.007538, allocations: 11.75 kB / 278.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.007542, allocations: 4 kB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007544, allocations: 32 / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007547, allocations: 4 kB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.007683, allocations: 105.2 kB / 279 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007685, allocations: 0 / 279 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.988e-05/0.007715, allocations: 4 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.007717, allocations: 0 / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.007723, allocations: 4 kB / 279 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.007726, allocations: 7.984 kB / 279 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.007728, allocations: 3.938 kB / 279 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.007846, allocations: 199.6 kB / 279.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.007882, allocations: 19.95 kB / 279.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.007893, allocations: 4 kB / 279.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.007948, allocations: 0 / 279.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.007983, allocations: 7.938 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.007986, allocations: 0 / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.274e-05/0.008049, allocations: 143.2 kB / 279.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008049, allocations: 0 / 279.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.0083, allocations: 4 kB / 279.4 MB, free: 14.89 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 (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 8.692e-05/0.008387, allocations: 99.19 kB / 279.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.008459, allocations: 19.62 kB / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008461, allocations: 0 / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.00848, allocations: 19.61 kB / 279.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.008798, allocations: 11.58 kB / 279.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.009237, allocations: 165.5 kB / 279.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.009283, allocations: 63.2 kB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.009312, allocations: 8.469 kB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.009371, allocations: 74.19 kB / 279.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.009372, allocations: 0 / 279.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of Templates: time 0.002504/0.01188, allocations: 0.5503 MB / 280.4 MB, free: 13.82 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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","",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.713635829742998]