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.001097/0.001097, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001038/0.001038, allocations: 165 kB / 24.56 MB, free: 12 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 0.9292/0.9292, allocations: 177.1 MB / 205 MB, free: 5.621 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.212e-06/1.212e-06, allocations: 0 / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.876e-05, allocations: 2.312 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001839/0.001857, allocations: 1.49 MB / 274.5 MB, free: 52 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002461/0.002104, allocations: 103.6 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.002159, allocations: 0 / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.002186, allocations: 3.938 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.002226, allocations: 7.922 kB / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.002444, allocations: 23.92 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.002517, allocations: 23.92 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.002601, allocations: 11.98 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.417e-05/0.002645, allocations: 11.98 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.497e-05/0.00267, allocations: 11.92 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.00269, allocations: 0 / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.002699, allocations: 8 kB / 274.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.002716, allocations: 4 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.002739, allocations: 4 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.248e-05/0.002811, allocations: 27.84 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.002814, allocations: 0 / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.002815, allocations: 0 / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.002819, allocations: 0 / 274.7 MB, free: 15.81 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.0003182/0.003137, allocations: 364.6 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.003178, allocations: 12.03 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.003215, allocations: 12.83 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.003352, allocations: 120.6 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.003369, allocations: 4.375 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.003378, allocations: 384 / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.003577, allocations: 106.2 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.003584, allocations: 192 / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.003591, allocations: 384 / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.003597, allocations: 384 / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.003623, allocations: 15.92 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.511e-05/0.003708, allocations: 112.6 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.003788, allocations: 46.98 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.003817, allocations: 19.72 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.003832, allocations: 4.031 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.003851, allocations: 33.39 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.003852, allocations: 0 / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001248/0.003977, allocations: 61.7 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.004011, allocations: 55.41 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.004079, allocations: 169.9 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.004087, allocations: 25.7 kB / 275.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.004127, allocations: 138.9 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.00413, allocations: 3.938 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.004148, allocations: 15.38 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.004254, allocations: 492.1 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-06/0.004258, allocations: 4 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-06/0.004261, allocations: 256 / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.004289, allocations: 119.2 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/0.004315, allocations: 123.2 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.355e-05/0.004348, allocations: 37.62 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.004382, allocations: 123.2 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.004409, allocations: 123.2 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.653e-05/0.004466, allocations: 246.4 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.93e-05/0.004495, allocations: 123.1 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.053e-05/0.004556, allocations: 238.4 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.004625, allocations: 131.1 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.004652, allocations: 119.2 kB / 277.8 MB, free: 12.46 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.66e-05/0.004739, allocations: 279.8 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.004786, allocations: 41.7 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.004809, allocations: 7.688 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.004812, allocations: 3.984 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.004816, allocations: 0 / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.00482, allocations: 11.88 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.507e-05/0.004875, allocations: 116.6 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.004877, allocations: 0 / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.004918, allocations: 0 / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.004922, allocations: 0 / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.004928, allocations: 7.984 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.00493, allocations: 0 / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.004931, allocations: 0 / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.13e-05/0.004992, allocations: 84.38 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.004999, allocations: 3.938 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-06/0.005008, allocations: 0 / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.005024, allocations: 8 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-06/0.005028, allocations: 0 / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.005032, allocations: 0 / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.725e-05/0.00507, allocations: 131.2 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00507, allocations: 0 / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001285/0.005198, allocations: 11.88 kB / 278.5 MB, free: 11.69 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.893e-05/0.005277, allocations: 99.38 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.412e-05/0.005331, allocations: 8 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.005332, allocations: 0 / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.005333, allocations: 4 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.005497, allocations: 13.11 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.005706, allocations: 117.1 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.005735, allocations: 55.36 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.961e-06/0.005741, allocations: 0 / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.005764, allocations: 12.5 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.005765, allocations: 0 / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Templates: time 0.001686/0.007451, allocations: 322.6 kB / 279.1 MB, free: 11.01 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.570238548796624]