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.000898/0.000898, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.004371/0.004371, allocations: 163.6 kB / 24.7 MB, free: 9.426 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 0.8463/0.8463, allocations: 177.1 MB / 205 MB, free: 5.738 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.823e-06/1.823e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.449e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002192/0.002216, allocations: 1.454 MB / 327.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.002458, allocations: 95.62 kB / 327.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.002521, allocations: 4 kB / 327.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.002547, allocations: 0 / 327.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.41e-05/0.002581, allocations: 7.922 kB / 327.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.002795, allocations: 27.86 kB / 327.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.00287, allocations: 27.91 kB / 327.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.002962, allocations: 4 kB / 327.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.081e-05/0.003003, allocations: 15.98 kB / 327.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.673e-05/0.00303, allocations: 7.938 kB / 327.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.003054, allocations: 4 kB / 327.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.003061, allocations: 0 / 327.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.003077, allocations: 8 kB / 327.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.0031, allocations: 7.984 kB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.115e-05/0.003181, allocations: 31.83 kB / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003183, allocations: 0 / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003184, allocations: 0 / 327.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.003188, allocations: 0 / 327.5 MB, free: 13.74 MB / 298.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.0003283/0.003517, allocations: 273.2 kB / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.003553, allocations: 12.03 kB / 327.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.003582, allocations: 4.938 kB / 327.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.003746, allocations: 117.7 kB / 327.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.003765, allocations: 384 / 327.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.003775, allocations: 8.375 kB / 327.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.003992, allocations: 107.8 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.003999, allocations: 4.188 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.004008, allocations: 384 / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.004012, allocations: 384 / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.004056, allocations: 23.86 kB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.896e-05/0.004145, allocations: 101.3 kB / 328.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.00424, allocations: 46.55 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.004272, allocations: 16.89 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.00429, allocations: 4 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.004313, allocations: 42.53 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.004314, allocations: 4 kB / 328.3 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001568/0.00447, allocations: 61.64 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.004511, allocations: 55.41 kB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.004568, allocations: 105.8 kB / 328.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.004576, allocations: 25.7 kB / 328.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.004602, allocations: 84.14 kB / 328.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.004605, allocations: 3.938 kB / 328.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.004622, allocations: 13.72 kB / 328.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.004691, allocations: 318.8 kB / 328.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-06/0.004696, allocations: 0 / 328.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-06/0.0047, allocations: 3.938 kB / 328.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.805e-05/0.004718, allocations: 79.28 kB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.004735, allocations: 75.28 kB / 329.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.435e-05/0.004769, allocations: 29.7 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.004795, allocations: 79.28 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.004814, allocations: 79.28 kB / 329.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.201e-05/0.004856, allocations: 158.5 kB / 329.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.709e-05/0.004873, allocations: 75.28 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.353e-05/0.004907, allocations: 154.5 kB / 329.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.004948, allocations: 87.2 kB / 329.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.004964, allocations: 75.28 kB / 329.8 MB, free: 11.28 MB / 298.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 6.998e-05/0.005034, allocations: 193.1 kB / 330 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.005098, allocations: 53.8 kB / 330 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.005121, allocations: 7.688 kB / 330 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.005123, allocations: 0 / 330 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.005127, allocations: 0 / 330 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.00513, allocations: 3.938 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.662e-05/0.005177, allocations: 109.3 kB / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.00518, allocations: 256 / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.005229, allocations: 8 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.005232, allocations: 0 / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.005239, allocations: 4 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.005241, allocations: 0 / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005242, allocations: 0 / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.228e-05/0.005314, allocations: 88.98 kB / 330.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.005321, allocations: 3.938 kB / 330.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.005333, allocations: 3.938 kB / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.005342, allocations: 4 kB / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.005344, allocations: 0 / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.005349, allocations: 0 / 330.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.51e-05/0.005374, allocations: 87.27 kB / 330.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005374, allocations: 0 / 330.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.005505, allocations: 11.94 kB / 330.4 MB, free: 10.64 MB / 298.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 8.142e-05/0.005587, allocations: 99.19 kB / 330.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.336e-05/0.00564, allocations: 11.98 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.005642, allocations: 4 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.005642, allocations: 0 / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.005811, allocations: 15.94 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.006043, allocations: 139.3 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.006085, allocations: 67.34 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.006107, allocations: 8.5 kB / 330.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006107, allocations: 0 / 330.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of Templates: time 0.001531/0.007638, allocations: 0.5159 MB / 331.2 MB, free: 9.73 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.080142568796873]