Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001556, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.467/1.467, allocations: 230.4 MB / 255.4 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.83 kB / 374.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1263, allocations: 53.31 MB / 428.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003134/0.1294, allocations: 1.56 MB / 429.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000426/0.1299, allocations: 151.5 kB / 429.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.1299, allocations: 3.938 kB / 429.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.859e-05/0.13, allocations: 7.922 kB / 429.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.1301, allocations: 3.938 kB / 429.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.1304, allocations: 35.91 kB / 429.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1305, allocations: 31.91 kB / 429.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1307, allocations: 12 kB / 429.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.1307, allocations: 23.91 kB / 429.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.1308, allocations: 15.88 kB / 429.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1308, allocations: 0 / 429.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.1308, allocations: 4 kB / 429.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.1308, allocations: 15.92 kB / 429.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.1309, allocations: 19.88 kB / 429.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.131, allocations: 47.69 kB / 430 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.131, allocations: 0 / 430 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.131, allocations: 0 / 430 MB, free: 2.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.131, allocations: 3.938 kB / 430 MB, free: 2.398 MB / 350.1 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.0005494/0.1316, allocations: 381.7 kB / 430.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1316, allocations: 8.031 kB / 430.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.1316, allocations: 8.891 kB / 430.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1319, allocations: 188.2 kB / 430.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.1319, allocations: 4.375 kB / 430.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1319, allocations: 4.375 kB / 430.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.1322, allocations: 121.5 kB / 430.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1323, allocations: 4.172 kB / 430.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1323, allocations: 3.938 kB / 430.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.1323, allocations: 4 kB / 430.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.646e-05/0.1324, allocations: 15.98 kB / 430.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1327, allocations: 257.8 kB / 431 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.1329, allocations: 142.2 kB / 431.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/0.133, allocations: 29.77 kB / 431.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1331, allocations: 4 kB / 431.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1331, allocations: 42.48 kB / 431.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1331, allocations: 0 / 431.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002665/0.1334, allocations: 73.62 kB / 431.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.1334, allocations: 81.05 kB / 431.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.1336, allocations: 144.9 kB / 431.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1336, allocations: 29.83 kB / 431.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.1336, allocations: 84.14 kB / 431.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1337, allocations: 15.92 kB / 431.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1337, allocations: 13.72 kB / 431.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1339, allocations: 314.8 kB / 431.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.1339, allocations: 7.984 kB / 431.9 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.366e-05/0.134, allocations: 35.44 kB / 432 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.134, allocations: 43.36 kB / 432 MB, free: 88 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.134, allocations: 0 / 432 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.1342, allocations: 73.55 kB / 432.1 MB, free: 8 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1342, allocations: 4 kB / 432.1 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1342, allocations: 0 / 432.1 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1342, allocations: 4 kB / 432.1 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2213/0.3555, allocations: 9.562 kB / 432.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3556, allocations: 2.656 kB / 432.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.3556, allocations: 9 kB / 432.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3556, allocations: 0 / 432.1 MB, free: 11.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 8.743e-05/0.3557, allocations: 122.2 kB / 432.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3558, allocations: 47.55 kB / 432.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.3559, allocations: 12.86 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3559, allocations: 1 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3559, allocations: 0.7812 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3559, allocations: 0.9375 kB / 432.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.356, allocations: 167.2 kB / 432.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.356, allocations: 1.375 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.3561, allocations: 15.98 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3561, allocations: 2.906 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3561, allocations: 5.625 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3561, allocations: 1.188 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3561, allocations: 3.688 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.3563, allocations: 162.3 kB / 432.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.3563, allocations: 99.14 kB / 432.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3563, allocations: 1.688 kB / 432.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.3564, allocations: 3.781 kB / 432.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3564, allocations: 6.438 kB / 432.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3564, allocations: 1.781 kB / 432.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.537e-05/0.3565, allocations: 107.1 kB / 432.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3565, allocations: 0 / 432.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000301/0.3568, allocations: 4.125 kB / 432.9 MB, free: 10.49 MB / 350.1 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 9.266e-05/0.3569, allocations: 97.44 kB / 433 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.3571, allocations: 33.69 kB / 433 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3571, allocations: 1.781 kB / 433 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.415e-05/0.3571, allocations: 10.62 kB / 433 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3575, allocations: 30.98 kB / 433 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.3578, allocations: 176.6 kB / 433.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.3579, allocations: 0.6875 MB / 433.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.3579, allocations: 10.22 kB / 433.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3579, allocations: 2.969 kB / 433.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of Templates: time 0.002153/0.3601, allocations: 0.6881 MB / 434.6 MB, free: 9.539 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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: 6.829992299899459]