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.001388/0.001388, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001729/0.001729, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.074/1.074, allocations: 177.1 MB / 205 MB, free: 5.59 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.393e-06/1.393e-06, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.883e-05, allocations: 2.312 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001988/0.002007, allocations: 1.488 MB / 274.5 MB, free: 4 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002537/0.00226, allocations: 103.7 kB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.002318, allocations: 3.938 kB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.002347, allocations: 3.938 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.415e-05/0.002381, allocations: 0 / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.002625, allocations: 23.91 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.986e-05/0.002694, allocations: 23.92 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.00278, allocations: 11.94 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.002825, allocations: 19.92 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.426e-05/0.002849, allocations: 11.97 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.002865, allocations: 4 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.002874, allocations: 0 / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.00289, allocations: 4 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.002914, allocations: 7.938 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.59e-05/0.00298, allocations: 15.98 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.002981, allocations: 0 / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002982, allocations: 0 / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.002986, allocations: 0 / 274.7 MB, free: 15.77 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.0003154/0.003301, allocations: 372.5 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.00334, allocations: 12.02 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.003374, allocations: 12.89 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.003509, allocations: 112.6 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.003527, allocations: 4.375 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.003536, allocations: 4.375 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.003743, allocations: 106.2 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003749, allocations: 4.188 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.003757, allocations: 384 / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.003762, allocations: 8.312 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.003787, allocations: 7.938 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.813e-05/0.003875, allocations: 116.6 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.003948, allocations: 47.02 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.003974, allocations: 11.69 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.003989, allocations: 0 / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.004006, allocations: 37.39 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 5.41e-07/0.004007, allocations: 0 / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001209/0.004128, allocations: 57.62 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.004164, allocations: 55.41 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.004242, allocations: 181.9 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.004252, allocations: 25.7 kB / 275.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.004294, allocations: 126.9 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.004297, allocations: 0 / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.004319, allocations: 23.36 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.004434, allocations: 496.1 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.004438, allocations: 0 / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-06/0.004442, allocations: 0 / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.004469, allocations: 119.2 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/0.004496, allocations: 123.2 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.272e-05/0.004528, allocations: 29.64 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.004562, allocations: 131.2 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.004589, allocations: 119.4 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-05/0.004648, allocations: 242.4 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.233e-05/0.00468, allocations: 127.1 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.807e-05/0.004738, allocations: 242.4 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.004792, allocations: 131 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.004818, allocations: 119.2 kB / 277.8 MB, free: 12.41 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 9.552e-05/0.004914, allocations: 275.8 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.004966, allocations: 45.69 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.004992, allocations: 7.688 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.004994, allocations: 7.938 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.004998, allocations: 0 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.005003, allocations: 7.938 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.107e-05/0.005054, allocations: 116.5 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.005058, allocations: 0 / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.0051, allocations: 7.938 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.005103, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.005108, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.005111, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005111, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.088e-05/0.005182, allocations: 88.38 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.00519, allocations: 11.98 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-06/0.005198, allocations: 0 / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.005213, allocations: 0 / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-06/0.005215, allocations: 0 / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.005221, allocations: 4.25 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.005261, allocations: 131.1 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005261, allocations: 0 / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.005402, allocations: 4 kB / 278.5 MB, free: 11.64 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.133e-05/0.005473, allocations: 103.2 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.323e-05/0.005517, allocations: 8 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.005518, allocations: 0 / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.00552, allocations: 4 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.005676, allocations: 13.16 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.0059, allocations: 117.1 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.687e-05/0.005937, allocations: 59.34 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.304e-06/0.005944, allocations: 0 / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.005969, allocations: 8.5 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.00597, allocations: 0 / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of Templates: time 0.001734/0.007703, allocations: 310.5 kB / 279.1 MB, free: 10.98 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: 3.0158740947954357]