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.002454/0.002454, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002168/0.002168, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 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.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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 1.493e-06/1.493e-06, allocations: 0 / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.1e-05/4.249e-05, allocations: 2.312 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004331/0.004374, allocations: 1.924 MB / 274.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.006901, allocations: 1.168 MB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.007074, allocations: 4 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007465/0.007821, allocations: 159.3 kB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.008368, allocations: 163.3 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.008921, allocations: 171.3 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.009276, allocations: 191.4 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.009402, allocations: 25.78 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.009619, allocations: 95.73 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.009785, allocations: 63.8 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.009826, allocations: 12 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.01002, allocations: 71.83 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.456e-05/0.01012, allocations: 43.83 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.0102, allocations: 39.86 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.01064, allocations: 207.2 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.01065, allocations: 4 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01065, allocations: 0 / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.01066, allocations: 0 / 276.6 MB, free: 13.52 MB / 266.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.001039/0.0117, allocations: 0.5514 MB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01174, allocations: 12.03 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.912e-05/0.01184, allocations: 24.8 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.0123, allocations: 223.6 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.01232, allocations: 8.375 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.01234, allocations: 4.375 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.01273, allocations: 152.6 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.01274, allocations: 7.938 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.01276, allocations: 0 / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.01276, allocations: 4 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.01289, allocations: 31.92 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.01355, allocations: 379 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.01385, allocations: 137.2 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.01395, allocations: 43.06 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.01398, allocations: 7.938 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.01416, allocations: 85.03 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.01416, allocations: 0 / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003991/0.01456, allocations: 141.4 kB / 278.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.01465, allocations: 110.8 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.01507, allocations: 332.3 kB / 278.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.01509, allocations: 25.7 kB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.01525, allocations: 186.9 kB / 279 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.01528, allocations: 15.84 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.01561, allocations: 43.31 kB / 279.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003093/0.01592, allocations: 0.5079 MB / 279.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.01597, allocations: 12 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.01609, allocations: 77 kB / 279.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.0162, allocations: 59.23 kB / 279.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.01621, allocations: 0 / 279.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002192/0.01643, allocations: 93.59 kB / 279.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01644, allocations: 4 kB / 279.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.01644, allocations: 3.938 kB / 279.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.01646, allocations: 0 / 279.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.01654, allocations: 15.98 kB / 279.9 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.01654, allocations: 0 / 279.9 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.01661, allocations: 8.062 kB / 279.9 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.01662, allocations: 4 kB / 279.9 MB, free: 9.949 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.0001709/0.01679, allocations: 172.5 kB / 280.1 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.0169, allocations: 69.8 kB / 280.1 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.01716, allocations: 103.4 kB / 280.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.01716, allocations: 4 kB / 280.2 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.01717, allocations: 4 kB / 280.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01718, allocations: 0 / 280.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.01743, allocations: 204.4 kB / 280.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.01743, allocations: 4 kB / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.01748, allocations: 16 kB / 280.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01748, allocations: 0 / 280.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01749, allocations: 4 kB / 280.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.0175, allocations: 7.922 kB / 280.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.0175, allocations: 0 / 280.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.01781, allocations: 179.5 kB / 280.6 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.01789, allocations: 31.84 kB / 280.7 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.01792, allocations: 4 kB / 280.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.01799, allocations: 7.984 kB / 280.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.01803, allocations: 4 kB / 280.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.01805, allocations: 8 kB / 280.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002526/0.0183, allocations: 233.1 kB / 280.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0183, allocations: 0 / 280.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.01857, allocations: 27.94 kB / 280.9 MB, free: 8.793 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.002975/0.02155, allocations: 441.9 kB / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.02178, allocations: 67.64 kB / 281.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02178, allocations: 3.938 kB / 281.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.02187, allocations: 31.67 kB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.0223, allocations: 69.31 kB / 281.5 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/0.02297, allocations: 321.9 kB / 281.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.02311, allocations: 123.4 kB / 282 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.945e-05/0.02319, allocations: 21.81 kB / 282 MB, free: 7.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.02324, allocations: 20.5 kB / 282 MB, free: 7.828 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02324, allocations: 0 / 282 MB, free: 7.828 MB / 266.7 MB Notification: Performance of Templates: time 0.007337/0.03058, allocations: 2.628 MB / 284.6 MB, free: 5.25 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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: 4.5674761650152504]