Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.083/1.083, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.129e-05, allocations: 2.312 kB / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001918/0.00194, allocations: 1.49 MB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002309/0.002171, allocations: 91.67 kB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.002229, allocations: 7.875 kB / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.002253, allocations: 0 / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.655e-05/0.00229, allocations: 7.938 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.002481, allocations: 23.97 kB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.002548, allocations: 27.92 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.002633, allocations: 11.92 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.002679, allocations: 15.92 kB / 275.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.002705, allocations: 11.98 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.002721, allocations: 3.938 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.002729, allocations: 4 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.002744, allocations: 0 / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.787e-05/0.002762, allocations: 11.94 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.478e-05/0.002826, allocations: 15.97 kB / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.002828, allocations: 4 kB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002829, allocations: 0 / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.002832, allocations: 4 kB / 275.1 MB, free: 15.53 MB / 266.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.0002753/0.003107, allocations: 360.6 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.003141, allocations: 8.031 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.003165, allocations: 8.891 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.003281, allocations: 128.6 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.003295, allocations: 384 / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.003301, allocations: 4.375 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.003457, allocations: 106.2 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003464, allocations: 4.125 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-06/0.003469, allocations: 384 / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.003473, allocations: 4.312 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.00349, allocations: 7.938 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.266e-05/0.003573, allocations: 101.2 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.003628, allocations: 35.06 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.003648, allocations: 19.75 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.003664, allocations: 7.984 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.003683, allocations: 37.39 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.003684, allocations: 3.938 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001012/0.003785, allocations: 53.64 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.003815, allocations: 51.41 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.00388, allocations: 169.9 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.003887, allocations: 25.7 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.003921, allocations: 126.9 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.003922, allocations: 0 / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.003942, allocations: 19.38 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.004048, allocations: 0.4961 MB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-06/0.00405, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.004054, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.004081, allocations: 123.1 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.77e-05/0.004108, allocations: 123.2 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.374e-05/0.004142, allocations: 25.7 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.004176, allocations: 127.2 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.004206, allocations: 119.2 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.859e-05/0.004264, allocations: 246.3 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.394e-05/0.004288, allocations: 119.2 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.022e-05/0.004338, allocations: 246.3 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.004387, allocations: 127.2 kB / 278.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.004414, allocations: 123.1 kB / 278.2 MB, free: 12.21 MB / 266.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 8.592e-05/0.004499, allocations: 275.8 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.004547, allocations: 49.62 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.004572, allocations: 3.688 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004573, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.004574, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.004576, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.961e-05/0.004636, allocations: 109.1 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.004639, allocations: 0 / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.004672, allocations: 16.17 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.004674, allocations: 0 / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.004679, allocations: 4 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.00468, allocations: 0 / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.004681, allocations: 0 / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.947e-05/0.004721, allocations: 68.33 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.004728, allocations: 4 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-06/0.004735, allocations: 0 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.004755, allocations: 3.984 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-06/0.004757, allocations: 0 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.004762, allocations: 4 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.296e-05/0.004795, allocations: 131.2 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004795, allocations: 0 / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001328/0.004927, allocations: 4 kB / 278.9 MB, free: 11.48 MB / 266.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.207e-05/0.005, allocations: 95.25 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.871e-05/0.005038, allocations: 7.984 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005039, allocations: 0 / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.00504, allocations: 0 / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.005182, allocations: 21 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.005376, allocations: 113.2 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.005404, allocations: 59.34 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.375e-06/0.005412, allocations: 4 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.00545, allocations: 70.2 kB / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.005451, allocations: 0 / 279.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of Templates: time 0.001544/0.006995, allocations: 319 kB / 279.6 MB, free: 10.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6956109451130033]