Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.0008484/0.0008484, allocations: 84 kB / 21.43 MB, free: 3.129 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.004574/0.004574, allocations: 140.6 kB / 24.67 MB, free: 9.43 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.8628/0.8628, allocations: 173.4 MB / 201.2 MB, free: 9.43 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 4 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.392e-05, allocations: 9.594 kB / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002542/0.002576, allocations: 1.875 MB / 321.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.003911, allocations: 1.102 MB / 322.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.004026, allocations: 3.938 kB / 322.7 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.00434, allocations: 71.59 kB / 322.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005914/0.004931, allocations: 103.5 kB / 322.8 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.005454, allocations: 262.5 kB / 323.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.005673, allocations: 187.4 kB / 323.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005796, allocations: 29.77 kB / 323.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.005917, allocations: 103.7 kB / 323.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.006019, allocations: 71.86 kB / 323.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.006042, allocations: 12 kB / 323.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.006171, allocations: 75.81 kB / 323.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.006246, allocations: 55.83 kB / 323.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.0063, allocations: 39.8 kB / 323.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.006592, allocations: 251.1 kB / 323.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006595, allocations: 0 / 323.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.006597, allocations: 0 / 323.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.006601, allocations: 0 / 323.9 MB, free: 1.598 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006136/0.007215, allocations: 482.5 kB / 324.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.007253, allocations: 12.03 kB / 324.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.007307, allocations: 24.8 kB / 324.4 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.007622, allocations: 236.7 kB / 324.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.007638, allocations: 4.375 kB / 324.6 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.007651, allocations: 12.31 kB / 324.7 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.007958, allocations: 201.8 kB / 324.9 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.007968, allocations: 7.938 kB / 324.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.007978, allocations: 0 / 324.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.007988, allocations: 4 kB / 324.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.008092, allocations: 43.91 kB / 324.9 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.008503, allocations: 326.9 kB / 325.2 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.008716, allocations: 142.5 kB / 325.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.008783, allocations: 63.36 kB / 325.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.008815, allocations: 11.92 kB / 325.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.008966, allocations: 79.38 kB / 325.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.008967, allocations: 0 / 325.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003037/0.009271, allocations: 173.4 kB / 325.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.009345, allocations: 158.2 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.009579, allocations: 341.8 kB / 326.2 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.009593, allocations: 26.08 kB / 326.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.009669, allocations: 132.4 kB / 326.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.009691, allocations: 15.91 kB / 326.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.009728, allocations: 29.64 kB / 326.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.009814, allocations: 334.8 kB / 326.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.009858, allocations: 19.98 kB / 326.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.009932, allocations: 114.8 kB / 326.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.093e-05/0.01001, allocations: 61.64 kB / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01002, allocations: 256 / 326.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001274/0.01014, allocations: 117.5 kB / 327 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01016, allocations: 4 kB / 327 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01016, allocations: 7.984 kB / 327 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01018, allocations: 0 / 327 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.01025, allocations: 12 kB / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01025, allocations: 0 / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.0103, allocations: 15.92 kB / 327 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.0103, allocations: 0 / 327 MB, free: 14.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001026/0.01041, allocations: 155.5 kB / 327.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.01048, allocations: 89.47 kB / 327.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.01067, allocations: 123.4 kB / 327.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.01067, allocations: 0 / 327.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01068, allocations: 4 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01068, allocations: 0 / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.01081, allocations: 185.2 kB / 327.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01081, allocations: 0 / 327.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.01086, allocations: 19.94 kB / 327.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01087, allocations: 3.984 kB / 327.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.01088, allocations: 7.938 kB / 327.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01088, allocations: 4.094 kB / 327.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01088, allocations: 0 / 327.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.01106, allocations: 187.5 kB / 327.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.01111, allocations: 43.77 kB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.01113, allocations: 7.938 kB / 327.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.01117, allocations: 4 kB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.01121, allocations: 11.98 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.01123, allocations: 7.984 kB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.01138, allocations: 245.2 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01138, allocations: 0 / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.01156, allocations: 39.95 kB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007308/0.01229, allocations: 464.8 kB / 328.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.01245, allocations: 71.89 kB / 328.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01245, allocations: 0 / 328.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.776e-05/0.0125, allocations: 27.98 kB / 328.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.01278, allocations: 84.3 kB / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.01327, allocations: 423.7 kB / 329.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.104e-05/0.01336, allocations: 136.2 kB / 329.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.0134, allocations: 24.5 kB / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0134, allocations: 0 / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of Templates: time 0.003833/0.01723, allocations: 3.126 MB / 332.5 MB, free: 8.742 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.447652601636946]