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.001322/0.001322, allocations: 81.42 kB / 20.68 MB, free: 1.027 MB / 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.001331/0.001331, allocations: 147.5 kB / 23.94 MB, free: 4.168 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.418/1.418, allocations: 173.4 MB / 200.4 MB, free: 12.88 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 1.242e-06/1.242e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.488e-05, allocations: 3.438 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002728/0.002753, allocations: 1.86 MB / 320.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.004225, allocations: 1.01 MB / 321.8 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004328, allocations: 2.281 kB / 321.8 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005975/0.004925, allocations: 155.7 kB / 321.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.005218, allocations: 120.2 kB / 322.1 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.005716, allocations: 201.3 kB / 322.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.005954, allocations: 191.4 kB / 322.4 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.006062, allocations: 24.42 kB / 322.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.006222, allocations: 94.25 kB / 322.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.006339, allocations: 63.59 kB / 322.6 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.006368, allocations: 9.281 kB / 322.6 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.006501, allocations: 66.98 kB / 322.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.006566, allocations: 44.89 kB / 322.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.006626, allocations: 37.83 kB / 322.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.006928, allocations: 206.3 kB / 323 MB, free: 1.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006931, allocations: 1.219 kB / 323 MB, free: 1.129 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006932, allocations: 0 / 323 MB, free: 1.129 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.006937, allocations: 4 kB / 323 MB, free: 1.125 MB / 286.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.0006164/0.007553, allocations: 450 kB / 323.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.007586, allocations: 8.438 kB / 323.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.007638, allocations: 18.58 kB / 323.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.007914, allocations: 204.3 kB / 323.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.007931, allocations: 6.812 kB / 323.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.00795, allocations: 5.781 kB / 323.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.008236, allocations: 150.1 kB / 323.8 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.008247, allocations: 7.875 kB / 323.8 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.00826, allocations: 2.078 kB / 323.8 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.008266, allocations: 1.375 kB / 323.8 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.008367, allocations: 38.83 kB / 323.9 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.008743, allocations: 294.9 kB / 324.1 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.00895, allocations: 109.5 kB / 324.3 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.009024, allocations: 48.89 kB / 324.3 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.009046, allocations: 2.25 kB / 324.3 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.009219, allocations: 70.91 kB / 324.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.009221, allocations: 0 / 324.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003959/0.009617, allocations: 145.8 kB / 324.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.009711, allocations: 110.2 kB / 324.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.01002, allocations: 265 kB / 324.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.01004, allocations: 34.89 kB / 324.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.01013, allocations: 113.3 kB / 325 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.01016, allocations: 20.17 kB / 325 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.01021, allocations: 24.3 kB / 325.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.01036, allocations: 327.4 kB / 325.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.01043, allocations: 21 kB / 325.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.62e-05/0.01053, allocations: 68.45 kB / 325.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.01065, allocations: 58.69 kB / 325.5 MB, free: 15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01065, allocations: 0 / 325.5 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001898/0.01084, allocations: 101.1 kB / 325.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.01085, allocations: 5.484 kB / 325.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01086, allocations: 0.9688 kB / 325.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.01087, allocations: 1.031 kB / 325.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.873e-05/0.01095, allocations: 11.12 kB / 325.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.01095, allocations: 1.031 kB / 325.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.01102, allocations: 20.36 kB / 325.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.01103, allocations: 3.594 kB / 325.7 MB, free: 14.92 MB / 302.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.0001311/0.01116, allocations: 136.5 kB / 325.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.01125, allocations: 73.56 kB / 325.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.01151, allocations: 119.2 kB / 326 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01151, allocations: 2.25 kB / 326 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01152, allocations: 5.156 kB / 326 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01152, allocations: 0.75 kB / 326 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.0117, allocations: 169.1 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.0117, allocations: 1.375 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.01174, allocations: 7.047 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01174, allocations: 1.375 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.01175, allocations: 6 kB / 326.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01175, allocations: 2.125 kB / 326.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01176, allocations: 1.375 kB / 326.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.01202, allocations: 160.5 kB / 326.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.01208, allocations: 33.92 kB / 326.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.01212, allocations: 7.359 kB / 326.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.01218, allocations: 4.531 kB / 326.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.01222, allocations: 5.469 kB / 326.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01223, allocations: 4.688 kB / 326.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.01243, allocations: 199.8 kB / 326.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01243, allocations: 4 kB / 326.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.01267, allocations: 22.52 kB / 326.6 MB, free: 14.25 MB / 302.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.00164/0.01431, allocations: 451.8 kB / 327.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.01451, allocations: 64.67 kB / 327.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01452, allocations: 0 / 327.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.01459, allocations: 28.25 kB / 327.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.01499, allocations: 71.28 kB / 327.2 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.01556, allocations: 316.9 kB / 327.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.01569, allocations: 116.2 kB / 327.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.143e-05/0.01576, allocations: 26.98 kB / 327.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.01582, allocations: 23.75 kB / 327.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01582, allocations: 0 / 327.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Templates: time 0.007026/0.02284, allocations: 2.569 MB / 330.3 MB, free: 13.14 MB / 302.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.267067454755306]