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.001411/0.001411, allocations: 92.64 kB / 20.95 MB, free: 3.586 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.001452/0.001452, allocations: 153.1 kB / 24.26 MB, free: 288 kB / 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 1.457/1.457, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 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 1.593e-06/1.593e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.199e-05, allocations: 2.312 kB / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.00404/0.004072, allocations: 1.874 MB / 269.2 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.006309, allocations: 1.013 MB / 270.2 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.006455, allocations: 7.938 kB / 270.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.007244, allocations: 159.4 kB / 270.4 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.007603, allocations: 115.5 kB / 270.5 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.008202, allocations: 199.2 kB / 270.7 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.008509, allocations: 187.4 kB / 270.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.008636, allocations: 21.78 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.008815, allocations: 91.81 kB / 271 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.008953, allocations: 63.8 kB / 271 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.008987, allocations: 11.98 kB / 271 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.009143, allocations: 59.84 kB / 271.1 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.009231, allocations: 51.77 kB / 271.1 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.009322, allocations: 35.86 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.00969, allocations: 203.3 kB / 271.4 MB, free: 2.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.009695, allocations: 0 / 271.4 MB, free: 2.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.009696, allocations: 0 / 271.4 MB, free: 2.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.009702, allocations: 0 / 271.4 MB, free: 2.625 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008611/0.01056, allocations: 454.7 kB / 271.8 MB, free: 2.145 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.0106, allocations: 12.03 kB / 271.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.842e-05/0.01068, allocations: 20.84 kB / 271.9 MB, free: 2.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.01107, allocations: 212.8 kB / 272.1 MB, free: 1.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.01109, allocations: 8.375 kB / 272.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.01111, allocations: 4.375 kB / 272.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.0115, allocations: 146.4 kB / 272.2 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01151, allocations: 3.938 kB / 272.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.01153, allocations: 7.938 kB / 272.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.01154, allocations: 4 kB / 272.2 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.01165, allocations: 31.92 kB / 272.3 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.0122, allocations: 294.1 kB / 272.6 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.01248, allocations: 107.8 kB / 272.7 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.01259, allocations: 50.56 kB / 272.7 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.01262, allocations: 3.938 kB / 272.7 MB, free: 1.137 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.0128, allocations: 75.38 kB / 272.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.01281, allocations: 0 / 272.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004591/0.01326, allocations: 145.5 kB / 272.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.01336, allocations: 110.8 kB / 273 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.01371, allocations: 265.7 kB / 273.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.01375, allocations: 29.7 kB / 273.3 MB, free: 476 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01386, allocations: 112.4 kB / 273.4 MB, free: 360 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.01389, allocations: 19.97 kB / 273.5 MB, free: 340 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.01394, allocations: 29.7 kB / 273.5 MB, free: 304 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.01417, allocations: 330.8 kB / 273.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.01423, allocations: 16 kB / 273.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.01434, allocations: 68.27 kB / 273.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.01447, allocations: 61.83 kB / 273.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01447, allocations: 0 / 273.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002066/0.01468, allocations: 101.6 kB / 274 MB, free: 15.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.0147, allocations: 8.062 kB / 274.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.0147, allocations: 4 kB / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01472, allocations: 0 / 274.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.0148, allocations: 11.94 kB / 274.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.01481, allocations: 0 / 274.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.01487, allocations: 15.88 kB / 274.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01489, allocations: 4 kB / 274.1 MB, free: 15.65 MB / 266.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,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.0001591/0.01504, allocations: 141.8 kB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.01515, allocations: 65.53 kB / 274.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.01542, allocations: 111.5 kB / 274.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01542, allocations: 4 kB / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01543, allocations: 0 / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01543, allocations: 0 / 274.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.01564, allocations: 165.2 kB / 274.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.01565, allocations: 7.938 kB / 274.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.01568, allocations: 7.938 kB / 274.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01568, allocations: 0 / 274.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.0157, allocations: 8 kB / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.0157, allocations: 0 / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0157, allocations: 0 / 274.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.01603, allocations: 174.6 kB / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.0161, allocations: 27.84 kB / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.01613, allocations: 8 kB / 274.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.0162, allocations: 7.984 kB / 274.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.01626, allocations: 8.047 kB / 274.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.01628, allocations: 11.98 kB / 274.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002357/0.01652, allocations: 193.2 kB / 275 MB, free: 14.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01652, allocations: 0 / 275 MB, free: 14.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000267/0.01678, allocations: 31.92 kB / 275 MB, free: 14.62 MB / 266.7 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.00208/0.01886, allocations: 446 kB / 275.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.01911, allocations: 63.97 kB / 275.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01911, allocations: 3.938 kB / 275.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.0192, allocations: 31.92 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.01995, allocations: 69.33 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.02068, allocations: 334.6 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.02084, allocations: 119.4 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.32e-05/0.02091, allocations: 21.62 kB / 276.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.02097, allocations: 24.48 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02097, allocations: 0 / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of Templates: time 0.007053/0.02802, allocations: 2.583 MB / 278.7 MB, free: 11.12 MB / 266.7 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.3095870489487424]