Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.00166/0.00166, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001465/0.001465, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.501/1.501, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3097, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003134/0.3129, allocations: 1.434 MB / 422.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002382/0.3131, allocations: 35.84 kB / 422.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.3132, allocations: 4 kB / 422.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.3132, allocations: 7.938 kB / 422.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.3132, allocations: 3.938 kB / 422.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.3135, allocations: 23.97 kB / 422.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.3136, allocations: 23.92 kB / 422.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3137, allocations: 7.984 kB / 422.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.3138, allocations: 11.94 kB / 422.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.3138, allocations: 15.92 kB / 422.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.3139, allocations: 4 kB / 422.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.3139, allocations: 0 / 422.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.3139, allocations: 11.98 kB / 422.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.3139, allocations: 15.92 kB / 422.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.314, allocations: 27.7 kB / 422.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.314, allocations: 3.938 kB / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3141, allocations: 0 / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3141, allocations: 0 / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000537/0.3146, allocations: 344.9 kB / 422.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3146, allocations: 11.89 kB / 422.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.3147, allocations: 4.891 kB / 422.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.3149, allocations: 180.3 kB / 423 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.315, allocations: 12.3 kB / 423 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.315, allocations: 4.375 kB / 423 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.3153, allocations: 111.9 kB / 423.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3153, allocations: 3.938 kB / 423.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3154, allocations: 0 / 423.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3154, allocations: 0 / 423.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3155, allocations: 23.97 kB / 423.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.3157, allocations: 157.7 kB / 423.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.3158, allocations: 54.48 kB / 423.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.163e-05/0.3159, allocations: 20.92 kB / 423.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3159, allocations: 4 kB / 423.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3159, allocations: 30.56 kB / 423.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3159, allocations: 0 / 423.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002789/0.3162, allocations: 77.61 kB / 423.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.3163, allocations: 51.41 kB / 423.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3164, allocations: 105.8 kB / 423.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3164, allocations: 33.64 kB / 423.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.3164, allocations: 80.14 kB / 423.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3165, allocations: 7.953 kB / 423.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.3165, allocations: 21.7 kB / 423.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3167, allocations: 314.8 kB / 424.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.3167, allocations: 15.94 kB / 424.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.3167, allocations: 31.98 kB / 424.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.645e-05/0.3168, allocations: 35.38 kB / 424.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3168, allocations: 4 kB / 424.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.027e-05/0.3169, allocations: 61.62 kB / 424.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3169, allocations: 7.938 kB / 424.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3169, allocations: 0 / 424.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3169, allocations: 7.984 kB / 424.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.317, allocations: 4 kB / 424.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.317, allocations: 3.938 kB / 424.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.317, allocations: 3.938 kB / 424.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.317, allocations: 12.12 kB / 424.3 MB, free: 11.42 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001385/0.3171, allocations: 113.8 kB / 424.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3173, allocations: 69.56 kB / 424.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.3173, allocations: 3.5 kB / 424.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3173, allocations: 0 / 424.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3173, allocations: 3.984 kB / 424.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3173, allocations: 0 / 424.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.3174, allocations: 153.7 kB / 424.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3174, allocations: 0 / 424.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.3175, allocations: 8 kB / 424.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3175, allocations: 7.875 kB / 424.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3175, allocations: 3.984 kB / 424.6 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3175, allocations: 4 kB / 424.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3175, allocations: 0 / 424.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.3177, allocations: 87.22 kB / 424.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.3177, allocations: 85.06 kB / 424.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.3177, allocations: 3.938 kB / 424.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.76e-05/0.3178, allocations: 4 kB / 424.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-06/0.3178, allocations: 0 / 424.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3178, allocations: 7.984 kB / 424.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.903e-05/0.3178, allocations: 83.28 kB / 424.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3178, allocations: 3.938 kB / 424.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000182/0.318, allocations: 4 kB / 424.9 MB, free: 10.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001248/0.3181, allocations: 95.25 kB / 425 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.3183, allocations: 32.11 kB / 425 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3183, allocations: 0 / 425 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.3183, allocations: 3.938 kB / 425 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3185, allocations: 38.69 kB / 425.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.3189, allocations: 117.5 kB / 425.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3192, allocations: 0.6883 MB / 425.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.809e-05/0.3193, allocations: 0 / 425.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3193, allocations: 11.44 kB / 425.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3193, allocations: 4.062 kB / 425.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of Templates: time 0.003043/0.3223, allocations: 384.9 kB / 426.3 MB, free: 9.262 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.857388328760862]