Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001448/0.001448, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001563/0.001563, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.419/1.419, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 55.92 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.23, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002677/0.2327, allocations: 1.452 MB / 425.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002813/0.233, allocations: 95.69 kB / 425.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.233, allocations: 4 kB / 425.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.2331, allocations: 7.875 kB / 425.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.963e-05/0.2331, allocations: 0 / 425.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.2333, allocations: 23.92 kB / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2334, allocations: 31.84 kB / 425.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2335, allocations: 7.984 kB / 425.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.2336, allocations: 11.94 kB / 425.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.2336, allocations: 7.938 kB / 425.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2336, allocations: 4 kB / 425.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.2336, allocations: 0 / 425.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.2336, allocations: 11.98 kB / 425.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.2337, allocations: 11.94 kB / 425.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.805e-05/0.2338, allocations: 31.55 kB / 425.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2338, allocations: 0 / 425.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2338, allocations: 0 / 425.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2338, allocations: 0 / 425.5 MB, free: 12.8 MB / 334.1 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.0004213/0.2342, allocations: 269.3 kB / 425.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2342, allocations: 12.02 kB / 425.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.2343, allocations: 8.938 kB / 425.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.2345, allocations: 118.4 kB / 425.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2345, allocations: 8.375 kB / 425.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.2345, allocations: 4.375 kB / 425.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.2348, allocations: 103.9 kB / 426 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2348, allocations: 4.125 kB / 426 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.2348, allocations: 3.938 kB / 426 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2348, allocations: 0 / 426 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.2349, allocations: 23.98 kB / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.235, allocations: 105.3 kB / 426.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.2352, allocations: 58.47 kB / 426.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.2352, allocations: 20.89 kB / 426.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.2353, allocations: 4.031 kB / 426.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2353, allocations: 34.56 kB / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2353, allocations: 0 / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002213/0.2355, allocations: 73.56 kB / 426.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.2356, allocations: 59.34 kB / 426.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.2357, allocations: 105.8 kB / 426.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2357, allocations: 25.7 kB / 426.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.2357, allocations: 88.14 kB / 426.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-06/0.2357, allocations: 0 / 426.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.2358, allocations: 17.72 kB / 426.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2359, allocations: 314.8 kB / 426.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.2359, allocations: 4 kB / 426.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.2359, allocations: 31.38 kB / 427 MB, free: 11.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.89e-05/0.236, allocations: 39.62 kB / 427 MB, free: 11.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.236, allocations: 0 / 427 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.127e-05/0.2361, allocations: 57.62 kB / 427.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2361, allocations: 4 kB / 427.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2361, allocations: 4 kB / 427.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2361, allocations: 3.938 kB / 427.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.2362, allocations: 11.92 kB / 427.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2362, allocations: 8.125 kB / 427.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.2362, allocations: 0 / 427.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2362, allocations: 4 kB / 427.1 MB, free: 11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.31e-05/0.2363, allocations: 109.8 kB / 427.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2364, allocations: 57.64 kB / 427.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.2364, allocations: 11.98 kB / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2364, allocations: 3.938 kB / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2364, allocations: 0 / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2364, allocations: 4 kB / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.79e-05/0.2365, allocations: 105.3 kB / 427.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2365, allocations: 4 kB / 427.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.2366, allocations: 11.92 kB / 427.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2366, allocations: 0 / 427.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2366, allocations: 4 kB / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2366, allocations: 0 / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2366, allocations: 3.938 kB / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.2367, allocations: 81.11 kB / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.2367, allocations: 3.953 kB / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.2367, allocations: 4.375 kB / 427.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.2367, allocations: 4 kB / 427.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-06/0.2367, allocations: 3.938 kB / 427.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2368, allocations: 7.984 kB / 427.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.2368, allocations: 83.28 kB / 427.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2368, allocations: 0 / 427.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001966/0.237, allocations: 4 kB / 427.6 MB, free: 10.43 MB / 334.1 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 9.092e-05/0.2371, allocations: 95.44 kB / 427.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.2372, allocations: 27.91 kB / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.2372, allocations: 4.25 kB / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2372, allocations: 0 / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.2374, allocations: 27.91 kB / 427.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.2377, allocations: 147.3 kB / 427.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.2378, allocations: 67.2 kB / 428 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.2378, allocations: 7.438 kB / 428 MB, free: 10 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2378, allocations: 3.938 kB / 428 MB, free: 10 MB / 334.1 MB Notification: Performance of Templates: time 0.002036/0.2398, allocations: 0.5686 MB / 428.5 MB, free: 9.434 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 6.571239163633436]