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.001039/0.001039, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004952/0.005991, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009323/0.0009323, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002326, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9507/0.9507, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1661/1.117, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] 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 1.913e-06/1.913e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.646e-05, allocations: 2.312 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001984/0.002, allocations: 1.525 MB / 241.3 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001448/0.002145, allocations: 99.61 kB / 241.4 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.002195, allocations: 1.281 kB / 241.4 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.002216, allocations: 3.938 kB / 241.4 MB, free: 4.742 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.075e-05/0.002237, allocations: 7.875 kB / 241.4 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.002357, allocations: 24.97 kB / 241.4 MB, free: 4.711 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.002431, allocations: 23.94 kB / 241.4 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.002503, allocations: 11.98 kB / 241.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.002559, allocations: 22.91 kB / 241.5 MB, free: 4.656 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.002588, allocations: 4 kB / 241.5 MB, free: 4.652 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.002609, allocations: 4 kB / 241.5 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.002616, allocations: 0 / 241.5 MB, free: 4.648 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.002637, allocations: 4 kB / 241.5 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.002656, allocations: 7.938 kB / 241.5 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.046e-05/0.002726, allocations: 19.92 kB / 241.5 MB, free: 4.617 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.002734, allocations: 0 / 241.5 MB, free: 4.617 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002735, allocations: 4.812 kB / 241.5 MB, free: 4.613 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.002745, allocations: 0 / 241.5 MB, free: 4.613 MB / 234.7 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.0002955/0.003041, allocations: 253.7 kB / 241.7 MB, free: 4.34 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.00307, allocations: 8.031 kB / 241.8 MB, free: 4.332 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.003093, allocations: 4.938 kB / 241.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.003218, allocations: 118.7 kB / 241.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.003235, allocations: 4.375 kB / 241.9 MB, free: 4.184 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.003244, allocations: 5.281 kB / 241.9 MB, free: 4.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.003394, allocations: 106.3 kB / 242 MB, free: 4.062 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.0034, allocations: 192 / 242 MB, free: 4.062 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-06/0.003406, allocations: 384 / 242 MB, free: 4.062 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.003411, allocations: 5.031 kB / 242 MB, free: 4.059 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.003427, allocations: 7.875 kB / 242 MB, free: 4.051 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.504e-05/0.003482, allocations: 61.73 kB / 242.1 MB, free: 3.977 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.003535, allocations: 30.56 kB / 242.1 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.003552, allocations: 14.81 kB / 242.1 MB, free: 3.922 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.003565, allocations: 0 / 242.1 MB, free: 3.922 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.003584, allocations: 42.55 kB / 242.2 MB, free: 3.871 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.003585, allocations: 0 / 242.2 MB, free: 3.871 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 8.752e-05/0.003673, allocations: 45.62 kB / 242.2 MB, free: 3.82 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.003712, allocations: 52.88 kB / 242.2 MB, free: 3.758 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.003772, allocations: 106.7 kB / 242.4 MB, free: 3.641 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.003782, allocations: 29.7 kB / 242.4 MB, free: 3.605 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.024e-05/0.003802, allocations: 88.11 kB / 242.5 MB, free: 3.516 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.003804, allocations: 0.625 kB / 242.5 MB, free: 3.516 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.00382, allocations: 14.31 kB / 242.5 MB, free: 3.496 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.003886, allocations: 314.8 kB / 242.8 MB, free: 3.18 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-06/0.003888, allocations: 0.5312 kB / 242.8 MB, free: 3.18 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-06/0.003891, allocations: 5.688 kB / 242.8 MB, free: 3.176 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.536e-05/0.003906, allocations: 75.28 kB / 242.9 MB, free: 3.102 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.00392, allocations: 75.28 kB / 242.9 MB, free: 3.027 MB / 234.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.055e-05/0.00395, allocations: 33.64 kB / 243 MB, free: 2.988 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.003974, allocations: 79.28 kB / 243.1 MB, free: 2.91 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.00399, allocations: 80.61 kB / 243.1 MB, free: 2.832 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.798e-05/0.004028, allocations: 158.5 kB / 243.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-05/0.004043, allocations: 75.28 kB / 243.4 MB, free: 2.602 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/0.004073, allocations: 151.6 kB / 243.5 MB, free: 2.453 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.811e-05/0.004111, allocations: 83.2 kB / 243.6 MB, free: 2.371 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.004127, allocations: 88.22 kB / 243.7 MB, free: 2.285 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 5.502e-05/0.004182, allocations: 189 kB / 243.9 MB, free: 2.086 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.004221, allocations: 46.38 kB / 243.9 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.004245, allocations: 3.688 kB / 243.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.004248, allocations: 4.672 kB / 243.9 MB, free: 2.02 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.00425, allocations: 0 / 243.9 MB, free: 2.02 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.004253, allocations: 0.7188 kB / 243.9 MB, free: 2.02 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.132e-05/0.004294, allocations: 69.84 kB / 244 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.004296, allocations: 0.6562 kB / 244 MB, free: 1.934 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.004337, allocations: 4 kB / 244 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.539e-06/0.004341, allocations: 2.531 kB / 244 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.004345, allocations: 3.984 kB / 244 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.004348, allocations: 0 / 244 MB, free: 1.926 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.004349, allocations: 4 kB / 244 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00435, allocations: 256 / 244 MB, free: 1.922 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.224e-05/0.004382, allocations: 53.08 kB / 244 MB, free: 1.852 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.004392, allocations: 7.938 kB / 244.1 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.004407, allocations: 0.9688 kB / 244.1 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-06/0.00441, allocations: 0 / 244.1 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.004414, allocations: 4.5 kB / 244.1 MB, free: 1.84 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.357e-05/0.004427, allocations: 16.84 kB / 244.1 MB, free: 1.82 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004427, allocations: 0.8125 kB / 244.1 MB, free: 1.82 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001018/0.004529, allocations: 0 / 244.1 MB, free: 1.82 MB / 234.7 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 7.22e-05/0.004601, allocations: 78.08 kB / 244.2 MB, free: 1.734 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.15e-05/0.004643, allocations: 4 kB / 244.2 MB, free: 1.73 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.004648, allocations: 7.984 kB / 244.2 MB, free: 1.723 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.004648, allocations: 4 kB / 244.2 MB, free: 1.719 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.004761, allocations: 25.03 kB / 244.2 MB, free: 1.691 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.005066, allocations: 111.3 kB / 244.3 MB, free: 1.559 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.937e-05/0.005096, allocations: 67.28 kB / 244.4 MB, free: 1.473 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.851e-06/0.005102, allocations: 0 / 244.4 MB, free: 1.473 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.005132, allocations: 51.38 kB / 244.4 MB, free: 1.422 MB / 234.7 MB Notification: Performance of SimCode: time 6.81e-07/0.005133, allocations: 0 / 244.4 MB, free: 1.422 MB / 234.7 MB Notification: Performance of Templates: time 0.001486/0.00662, allocations: 321.9 kB / 244.7 MB, free: 1.109 MB / 234.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4070849176496267]