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.001874/0.001874, allocations: 112 kB / 20.43 MB, free: 1.449 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.002198/0.002198, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.583/1.583, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.00164/0.00164, allocations: 43.92 kB / 370.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3038, allocations: 52.19 MB / 423.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003482/0.3073, allocations: 1.452 MB / 424.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003832/0.3077, allocations: 99.67 kB / 424.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.3078, allocations: 0 / 424.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.3078, allocations: 7.938 kB / 424.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.3079, allocations: 0 / 424.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.3082, allocations: 23.91 kB / 424.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3083, allocations: 23.92 kB / 424.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3084, allocations: 8 kB / 424.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.3084, allocations: 11.94 kB / 424.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.3085, allocations: 11.92 kB / 424.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3085, allocations: 0 / 424.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.3085, allocations: 8 kB / 424.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.3085, allocations: 4 kB / 424.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.3086, allocations: 19.86 kB / 424.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.3087, allocations: 23.7 kB / 424.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3087, allocations: 0 / 424.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3087, allocations: 4 kB / 424.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3087, allocations: 3.938 kB / 424.8 MB, free: 13.03 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.0005007/0.3092, allocations: 263.7 kB / 425.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.3092, allocations: 12.03 kB / 425.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.3093, allocations: 4.938 kB / 425.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.3096, allocations: 126.4 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3096, allocations: 384 / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.3096, allocations: 8.375 kB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.3099, allocations: 99.86 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3099, allocations: 4.188 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.31, allocations: 3.938 kB / 425.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.31, allocations: 0 / 425.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.705e-05/0.31, allocations: 15.98 kB / 425.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.3102, allocations: 128.7 kB / 425.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.3104, allocations: 46.5 kB / 425.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.3104, allocations: 24.92 kB / 425.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3104, allocations: 4 kB / 425.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3105, allocations: 30.56 kB / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3105, allocations: 0 / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002427/0.3107, allocations: 61.62 kB / 425.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/0.3108, allocations: 55.41 kB / 425.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3109, allocations: 105.8 kB / 425.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3109, allocations: 29.7 kB / 425.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.311, allocations: 88.14 kB / 425.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.311, allocations: 0 / 425.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.311, allocations: 21.7 kB / 425.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3112, allocations: 310.8 kB / 426.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.3112, allocations: 8 kB / 426.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.3113, allocations: 27.42 kB / 426.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.3113, allocations: 35.38 kB / 426.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3113, allocations: 3.938 kB / 426.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.831e-05/0.3114, allocations: 57.58 kB / 426.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.3114, allocations: 11.44 kB / 426.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3114, allocations: 8.062 kB / 426.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3115, allocations: 0 / 426.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.3115, allocations: 4.25 kB / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3115, allocations: 3.938 kB / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.3115, allocations: 8 kB / 426.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.3115, allocations: 0 / 426.4 MB, free: 11.24 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.195e-05/0.3116, allocations: 113.8 kB / 426.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3117, allocations: 49.69 kB / 426.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.3118, allocations: 15.61 kB / 426.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3118, allocations: 4 kB / 426.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3118, allocations: 3.938 kB / 426.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3118, allocations: 0 / 426.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.3119, allocations: 128.7 kB / 426.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3119, allocations: 0 / 426.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.3119, allocations: 4 kB / 426.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3119, allocations: 3.938 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3119, allocations: 3.938 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3119, allocations: 0 / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3119, allocations: 3.984 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.3121, allocations: 89.42 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.3121, allocations: 0 / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3121, allocations: 3.938 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.3121, allocations: 4 kB / 426.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-06/0.3121, allocations: 0 / 426.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3121, allocations: 0 / 426.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.299e-05/0.3122, allocations: 87.27 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3122, allocations: 0 / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.3124, allocations: 8 kB / 426.9 MB, free: 10.65 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.0001254/0.3125, allocations: 99.25 kB / 427 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.3126, allocations: 19.92 kB / 427 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3127, allocations: 4 kB / 427 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.3127, allocations: 0 / 427 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3129, allocations: 23.92 kB / 427 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.3132, allocations: 121.8 kB / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.3135, allocations: 0.6844 MB / 427.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.3136, allocations: 3.984 kB / 427.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.3136, allocations: 7.438 kB / 427.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3136, allocations: 0 / 427.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of Templates: time 0.003006/0.3166, allocations: 344.2 kB / 428.2 MB, free: 9.293 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.942937768995762]