Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001432/0.001432, allocations: 84.55 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001476/0.001476, allocations: 164.3 kB / 23.95 MB, free: 4.156 MB / 14.72 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.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 325.1 MB, free: 408 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.724e-05, allocations: 2.281 kB / 325.1 MB, free: 404 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002963/0.00299, allocations: 1.462 MB / 326.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003399/0.00333, allocations: 101.3 kB / 326.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.003404, allocations: 3.938 kB / 326.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.00344, allocations: 2.703 kB / 326.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.003483, allocations: 11.88 kB / 326.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.003755, allocations: 19.02 kB / 326.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.003866, allocations: 29.22 kB / 326.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.003986, allocations: 9.484 kB / 326.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.00405, allocations: 11.66 kB / 326.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.004097, allocations: 13.11 kB / 326.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.004127, allocations: 2.969 kB / 326.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.004137, allocations: 1.312 kB / 326.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.004155, allocations: 2.812 kB / 326.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.004187, allocations: 12.8 kB / 326.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.004297, allocations: 32.06 kB / 326.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.0043, allocations: 4 kB / 326.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.0043, allocations: 0 / 326.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.00431, allocations: 0 / 326.8 MB, free: 15.25 MB / 302.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.000488/0.004798, allocations: 262.6 kB / 327 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.004844, allocations: 9.875 kB / 327 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.004878, allocations: 7.172 kB / 327 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.005098, allocations: 115.7 kB / 327.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.005112, allocations: 1.312 kB / 327.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.00513, allocations: 3.125 kB / 327.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.005491, allocations: 113.6 kB / 327.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.005502, allocations: 4.125 kB / 327.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.005511, allocations: 1.625 kB / 327.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005517, allocations: 384 / 327.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.005606, allocations: 22.5 kB / 327.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.005772, allocations: 112.6 kB / 327.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.005962, allocations: 59.59 kB / 327.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.006027, allocations: 21.88 kB / 327.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.006053, allocations: 0.6094 kB / 327.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.006084, allocations: 37.58 kB / 327.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.006085, allocations: 0 / 327.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002562/0.006341, allocations: 67.38 kB / 327.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.006411, allocations: 57.33 kB / 327.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.006516, allocations: 108.5 kB / 327.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.006536, allocations: 25.7 kB / 327.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.006592, allocations: 86.11 kB / 327.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-06/0.006597, allocations: 2.094 kB / 327.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.006626, allocations: 15.03 kB / 327.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.006783, allocations: 313.5 kB / 328.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-06/0.006789, allocations: 256 / 328.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.006792, allocations: 1.344 kB / 328.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.006832, allocations: 83.73 kB / 328.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-05/0.006866, allocations: 76.53 kB / 328.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.235e-05/0.006929, allocations: 33.23 kB / 328.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.006975, allocations: 81.42 kB / 328.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.007009, allocations: 80.62 kB / 328.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.738e-05/0.007086, allocations: 156.5 kB / 328.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.007123, allocations: 81.31 kB / 328.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-05/0.007194, allocations: 156.7 kB / 328.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.007266, allocations: 79.22 kB / 329 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.007302, allocations: 77.28 kB / 329.1 MB, free: 12.99 MB / 302.1 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 0.0001088/0.007411, allocations: 184 kB / 329.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.00753, allocations: 66.62 kB / 329.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.007567, allocations: 4.516 kB / 329.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007569, allocations: 5.062 kB / 329.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.007574, allocations: 0.5156 kB / 329.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.007579, allocations: 5 kB / 329.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.801e-05/0.007667, allocations: 107.4 kB / 329.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.00767, allocations: 1.125 kB / 329.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.00775, allocations: 8.562 kB / 329.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.007753, allocations: 3.938 kB / 329.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.00776, allocations: 1.188 kB / 329.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.007763, allocations: 0.5625 kB / 329.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.007765, allocations: 1 kB / 329.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.007921, allocations: 92.91 kB / 329.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.007933, allocations: 6.812 kB / 329.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.007947, allocations: 1.734 kB / 329.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.00797, allocations: 1.875 kB / 329.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-06/0.007974, allocations: 4.969 kB / 329.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.007979, allocations: 1.375 kB / 329.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.338e-05/0.008033, allocations: 86.11 kB / 329.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008033, allocations: 0 / 329.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.008244, allocations: 2.438 kB / 329.7 MB, free: 12.44 MB / 302.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 0.0001273/0.008372, allocations: 103.7 kB / 329.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.527e-05/0.008467, allocations: 15.78 kB / 329.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008468, allocations: 0 / 329.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.008469, allocations: 1.094 kB / 329.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.008725, allocations: 23.06 kB / 329.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.009024, allocations: 115.7 kB / 329.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.601e-05/0.00909, allocations: 64.55 kB / 330 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.347e-05/0.009103, allocations: 1.094 kB / 330 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.009131, allocations: 14.53 kB / 330 MB, free: 12.14 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.009132, allocations: 0 / 330 MB, free: 12.14 MB / 302.1 MB Notification: Performance of Templates: time 0.002838/0.01197, allocations: 296.6 kB / 330.3 MB, free: 12.07 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.227600399404764]