Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001393/0.001393, allocations: 92.67 kB / 20.95 MB, free: 460 kB / 14.72 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.00144/0.00144, allocations: 151.1 kB / 24.24 MB, free: 3.492 MB / 14.72 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 1.452/1.452, allocations: 173.3 MB / 200.8 MB, free: 12.72 MB / 190.1 MB " [Timeout remaining time 178] 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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 267.3 MB, free: 10.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.851e-05/4.062e-05, allocations: 2.312 kB / 267.3 MB, free: 10.19 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.00361/0.003651, allocations: 1.866 MB / 269.2 MB, free: 8.305 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.005761, allocations: 1.017 MB / 270.2 MB, free: 7.281 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.005886, allocations: 0 / 270.2 MB, free: 7.281 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.00662, allocations: 163.4 kB / 270.3 MB, free: 7.121 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.006989, allocations: 119.4 kB / 270.5 MB, free: 7.004 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.007638, allocations: 195.3 kB / 270.7 MB, free: 6.812 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.007946, allocations: 187.4 kB / 270.8 MB, free: 6.629 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.00807, allocations: 17.8 kB / 270.9 MB, free: 6.609 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.008232, allocations: 103.7 kB / 271 MB, free: 6.508 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.008364, allocations: 63.8 kB / 271 MB, free: 6.445 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.008396, allocations: 8 kB / 271 MB, free: 6.438 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.00857, allocations: 63.84 kB / 271.1 MB, free: 6.375 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.008648, allocations: 43.83 kB / 271.1 MB, free: 6.332 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.008717, allocations: 35.86 kB / 271.2 MB, free: 6.297 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.009068, allocations: 203.3 kB / 271.4 MB, free: 6.098 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.009076, allocations: 7.922 kB / 271.4 MB, free: 6.09 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009077, allocations: 0 / 271.4 MB, free: 6.09 MB / 254.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.009082, allocations: 0 / 271.4 MB, free: 6.09 MB / 254.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.0007815/0.009863, allocations: 442.8 kB / 271.8 MB, free: 5.621 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.009904, allocations: 12.02 kB / 271.8 MB, free: 5.609 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.009972, allocations: 24.84 kB / 271.8 MB, free: 5.586 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.01036, allocations: 220.7 kB / 272.1 MB, free: 5.344 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.01038, allocations: 4.375 kB / 272.1 MB, free: 5.34 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.0104, allocations: 8.375 kB / 272.1 MB, free: 5.332 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.01076, allocations: 146.4 kB / 272.2 MB, free: 5.168 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01077, allocations: 3.938 kB / 272.2 MB, free: 5.164 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.01078, allocations: 0 / 272.2 MB, free: 5.164 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.01079, allocations: 0 / 272.2 MB, free: 5.164 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.0109, allocations: 35.92 kB / 272.3 MB, free: 5.129 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.01137, allocations: 290.2 kB / 272.5 MB, free: 4.809 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.01167, allocations: 111.8 kB / 272.6 MB, free: 4.672 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/0.01177, allocations: 42.56 kB / 272.7 MB, free: 4.621 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.01179, allocations: 4 kB / 272.7 MB, free: 4.617 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.012, allocations: 75.33 kB / 272.8 MB, free: 4.531 MB / 254.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.012, allocations: 0 / 272.8 MB, free: 4.531 MB / 254.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003968/0.01239, allocations: 149.5 kB / 272.9 MB, free: 4.379 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/0.01248, allocations: 106.8 kB / 273 MB, free: 4.25 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.0128, allocations: 269.7 kB / 273.3 MB, free: 3.977 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.01282, allocations: 29.7 kB / 273.3 MB, free: 3.941 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.01292, allocations: 120.4 kB / 273.4 MB, free: 3.82 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.01294, allocations: 11.91 kB / 273.4 MB, free: 3.809 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.01299, allocations: 29.7 kB / 273.5 MB, free: 3.773 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.01315, allocations: 326.8 kB / 273.8 MB, free: 3.445 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.01322, allocations: 19.98 kB / 273.8 MB, free: 3.426 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01332, allocations: 68.34 kB / 273.9 MB, free: 3.344 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.01344, allocations: 57.58 kB / 273.9 MB, free: 3.281 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01344, allocations: 256 / 273.9 MB, free: 3.281 MB / 254.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002158/0.01366, allocations: 105.6 kB / 274 MB, free: 3.172 MB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01367, allocations: 12 kB / 274 MB, free: 3.16 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01368, allocations: 0 / 274 MB, free: 3.16 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.01369, allocations: 4 kB / 274 MB, free: 3.156 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.01378, allocations: 15.92 kB / 274.1 MB, free: 3.141 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01378, allocations: 0 / 274.1 MB, free: 3.141 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.01385, allocations: 15.88 kB / 274.1 MB, free: 3.125 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01386, allocations: 8 kB / 274.1 MB, free: 3.117 MB / 254.1 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,sample1.u) * 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.0001238/0.01399, allocations: 136.8 kB / 274.2 MB, free: 2.977 MB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.01408, allocations: 65.55 kB / 274.3 MB, free: 2.906 MB / 254.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.01434, allocations: 119.5 kB / 274.4 MB, free: 2.781 MB / 254.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01435, allocations: 4 kB / 274.4 MB, free: 2.777 MB / 254.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01435, allocations: 0 / 274.4 MB, free: 2.777 MB / 254.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.01436, allocations: 3.984 kB / 274.4 MB, free: 2.773 MB / 254.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.01455, allocations: 161.2 kB / 274.6 MB, free: 2.586 MB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01455, allocations: 0 / 274.6 MB, free: 2.586 MB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.01459, allocations: 15.92 kB / 274.6 MB, free: 2.57 MB / 254.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01459, allocations: 0 / 274.6 MB, free: 2.57 MB / 254.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01461, allocations: 4 kB / 274.6 MB, free: 2.566 MB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01461, allocations: 0 / 274.6 MB, free: 2.566 MB / 254.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01461, allocations: 4 kB / 274.6 MB, free: 2.562 MB / 254.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.0149, allocations: 166.6 kB / 274.8 MB, free: 2.375 MB / 254.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.01498, allocations: 35.78 kB / 274.8 MB, free: 2.34 MB / 254.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.01501, allocations: 4 kB / 274.8 MB, free: 2.336 MB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.167e-05/0.01507, allocations: 4 kB / 274.8 MB, free: 2.332 MB / 254.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.01512, allocations: 7.984 kB / 274.8 MB, free: 2.324 MB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.01513, allocations: 4 kB / 274.8 MB, free: 2.32 MB / 254.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.01536, allocations: 197.2 kB / 275 MB, free: 2.129 MB / 254.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01536, allocations: 0 / 275 MB, free: 2.129 MB / 254.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.01561, allocations: 24 kB / 275 MB, free: 2.105 MB / 254.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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.00174/0.01735, allocations: 459.2 kB / 275.5 MB, free: 1.84 MB / 254.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.01758, allocations: 67.91 kB / 275.5 MB, free: 1.773 MB / 254.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01758, allocations: 0 / 275.5 MB, free: 1.773 MB / 254.1 MB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.01767, allocations: 31.92 kB / 275.6 MB, free: 1.742 MB / 254.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.01808, allocations: 61.34 kB / 275.6 MB, free: 1.68 MB / 254.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.01868, allocations: 322.9 kB / 275.9 MB, free: 1.332 MB / 254.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.01888, allocations: 119.4 kB / 276.1 MB, free: 1.195 MB / 254.1 MB Notification: Performance of simCode: alias equations: time 6.413e-05/0.01895, allocations: 21.62 kB / 276.1 MB, free: 1.176 MB / 254.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.019, allocations: 20.5 kB / 276.1 MB, free: 1.156 MB / 254.1 MB Notification: Performance of SimCode: time 3.11e-07/0.019, allocations: 0 / 276.1 MB, free: 1.156 MB / 254.1 MB Notification: Performance of Templates: time 0.007083/0.02608, allocations: 2.587 MB / 278.7 MB, free: 14.61 MB / 270.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.225675594061613]