Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001915/0.001915, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.002263/0.002263, allocations: 196.4 kB / 22.22 MB, free: 72 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.489/1.489, allocations: 225.6 MB / 250.8 MB, free: 13.32 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 55.91 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3199, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003001/0.3229, allocations: 1.438 MB / 422.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002976/0.3232, allocations: 109.8 kB / 422.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.3233, allocations: 0 / 422.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.3233, allocations: 3.938 kB / 422.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.3234, allocations: 3.938 kB / 422.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3237, allocations: 23.97 kB / 422.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.3238, allocations: 27.92 kB / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3239, allocations: 4 kB / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.3239, allocations: 11.92 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.115e-05/0.324, allocations: 11.94 kB / 422.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.324, allocations: 4 kB / 422.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-06/0.324, allocations: 0 / 422.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.324, allocations: 11.98 kB / 422.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.324, allocations: 15.86 kB / 422.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.3241, allocations: 31.64 kB / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3241, allocations: 0 / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3241, allocations: 0 / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3242, allocations: 0 / 422.6 MB, free: 13.39 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.0004797/0.3246, allocations: 340.8 kB / 422.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.07e-05/0.3247, allocations: 11.89 kB / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3248, allocations: 4.938 kB / 422.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.325, allocations: 180.3 kB / 423.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.325, allocations: 4.375 kB / 423.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.3251, allocations: 8.375 kB / 423.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.3254, allocations: 99.86 kB / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3254, allocations: 192 / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3254, allocations: 7.938 kB / 423.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3254, allocations: 0 / 423.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.3255, allocations: 19.92 kB / 423.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.3257, allocations: 153.7 kB / 423.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.3258, allocations: 46.59 kB / 423.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.3259, allocations: 20.89 kB / 423.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3259, allocations: 0 / 423.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.326, allocations: 34.56 kB / 423.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.326, allocations: 0 / 423.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002291/0.3262, allocations: 69.55 kB / 423.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.3262, allocations: 59.59 kB / 423.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.3263, allocations: 105.8 kB / 423.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3264, allocations: 25.7 kB / 423.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.3264, allocations: 84.14 kB / 423.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.3264, allocations: 4 kB / 423.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.3264, allocations: 17.72 kB / 423.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3266, allocations: 314.8 kB / 424.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.3266, allocations: 8 kB / 424.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.3266, allocations: 27.42 kB / 424.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.3267, allocations: 35.38 kB / 424.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3267, allocations: 3.938 kB / 424.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.71e-05/0.3268, allocations: 61.52 kB / 424.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3268, allocations: 8 kB / 424.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3268, allocations: 3.938 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3268, allocations: 4.125 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.3269, allocations: 4 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3269, allocations: 3.984 kB / 424.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.3269, allocations: 4 kB / 424.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.3269, allocations: 0 / 424.3 MB, free: 11.4 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.895e-05/0.327, allocations: 117.8 kB / 424.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.3271, allocations: 57.62 kB / 424.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.3271, allocations: 7.438 kB / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3271, allocations: 0 / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3271, allocations: 4 kB / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3271, allocations: 0 / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3273, allocations: 161.6 kB / 424.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3273, allocations: 0 / 424.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.3273, allocations: 4.25 kB / 424.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3273, allocations: 0 / 424.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3273, allocations: 7.938 kB / 424.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3273, allocations: 0 / 424.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-05/0.3273, allocations: 0 / 424.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.3275, allocations: 81.12 kB / 424.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.3275, allocations: 85.03 kB / 424.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3275, allocations: 3.938 kB / 424.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.3276, allocations: 4 kB / 424.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-06/0.3276, allocations: 0 / 424.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3276, allocations: 0 / 424.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.258e-05/0.3276, allocations: 83.28 kB / 424.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3276, allocations: 0 / 424.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.3278, 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001373/0.3279, allocations: 107.2 kB / 425 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.3281, allocations: 15.94 kB / 425 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3281, allocations: 11.94 kB / 425 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.3281, allocations: 0 / 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.0002138/0.3283, allocations: 19.97 kB / 425.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.3286, allocations: 121.7 kB / 425.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.329, allocations: 0.6844 MB / 425.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.189e-05/0.329, allocations: 4 kB / 425.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.329, allocations: 7.438 kB / 425.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.329, allocations: 0 / 425.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of Templates: time 0.002905/0.3319, allocations: 332.8 kB / 426.2 MB, free: 9.328 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.9085751892998815]