Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001264/0.001264, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 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.001332/0.001332, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.1 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+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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 51.92 kB / 374.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1115, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003857/0.1154, allocations: 1.911 MB / 429.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1178, allocations: 1.227 MB / 430.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.118, allocations: 3.938 kB / 430.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.1187, allocations: 155.5 kB / 430.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.1191, allocations: 155.4 kB / 430.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.1197, allocations: 171 kB / 431.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.12, allocations: 187.5 kB / 431.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1202, allocations: 21.55 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1203, allocations: 87.56 kB / 431.4 MB, free: 396 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.1205, allocations: 71.69 kB / 431.5 MB, free: 324 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1205, allocations: 12 kB / 431.5 MB, free: 312 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.1206, allocations: 55.89 kB / 431.5 MB, free: 256 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.1207, allocations: 43.84 kB / 431.6 MB, free: 212 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1208, allocations: 79.47 kB / 431.6 MB, free: 132 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2285/0.3494, allocations: 203.2 kB / 431.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3494, allocations: 4.469 kB / 431.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3494, allocations: 1.172 kB / 431.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.3494, allocations: 0.7188 kB / 431.8 MB, free: 8.441 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008102/0.3502, allocations: 0.5199 MB / 432.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3502, allocations: 11.2 kB / 432.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.3503, allocations: 21.77 kB / 432.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3506, allocations: 270.4 kB / 432.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3506, allocations: 9.031 kB / 432.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3507, allocations: 6.188 kB / 432.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.351, allocations: 149.7 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.351, allocations: 2.25 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.351, allocations: 1.266 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.351, allocations: 1.625 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3511, allocations: 36.19 kB / 432.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.3515, allocations: 361.2 kB / 433.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.3517, allocations: 103.1 kB / 433.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.3518, allocations: 49.97 kB / 433.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3518, allocations: 5.203 kB / 433.4 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.352, allocations: 76.61 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.352, allocations: 2.656 kB / 433.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003526/0.3523, allocations: 144.9 kB / 433.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.3524, allocations: 131 kB / 433.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.3526, allocations: 273.5 kB / 434 MB, free: 6.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.3527, allocations: 26.89 kB / 434 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.3527, allocations: 118.5 kB / 434.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3527, allocations: 23.06 kB / 434.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.3528, allocations: 33.12 kB / 434.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.3528, allocations: 332.3 kB / 434.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.3529, allocations: 20.41 kB / 434.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.353, allocations: 69.97 kB / 434.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3531, allocations: 79.89 kB / 434.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3531, allocations: 0.625 kB / 434.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001821/0.3533, allocations: 119.1 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3533, allocations: 6.719 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3533, allocations: 0.8125 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3533, allocations: 4.438 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.3534, allocations: 14.92 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3534, allocations: 2.25 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.3535, allocations: 3.844 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3535, allocations: 7.156 kB / 434.8 MB, free: 6.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.39e-05/0.3536, allocations: 150 kB / 435 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.3536, allocations: 66.69 kB / 435 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.3537, allocations: 23.52 kB / 435.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3537, allocations: 7.469 kB / 435.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3537, allocations: 1.094 kB / 435.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3537, allocations: 2.219 kB / 435.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.3538, allocations: 237.2 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3539, allocations: 0 / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.3539, allocations: 12.09 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3539, allocations: 1.5 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3539, allocations: 2.062 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3539, allocations: 1.625 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3539, allocations: 3.562 kB / 435.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3541, allocations: 157.7 kB / 435.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.3542, allocations: 106.6 kB / 435.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.3542, allocations: 5.562 kB / 435.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.3543, allocations: 5.531 kB / 435.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3543, allocations: 3.281 kB / 435.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3543, allocations: 12.5 kB / 435.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.3545, allocations: 201.3 kB / 435.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3545, allocations: 0 / 435.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.3547, allocations: 36.91 kB / 435.8 MB, free: 5.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001468/0.3562, allocations: 424.3 kB / 436.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.3564, allocations: 63.59 kB / 436.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3564, allocations: 4.25 kB / 436.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.3565, allocations: 24.58 kB / 436.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.3569, allocations: 68.17 kB / 436.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.3574, allocations: 348.3 kB / 436.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.3575, allocations: 0.734 MB / 437.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.3576, allocations: 18.5 kB / 437.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3576, allocations: 1.969 kB / 437.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Templates: time 0.005373/0.3629, allocations: 2.676 MB / 440.2 MB, free: 4.332 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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: 7.776141100999666]