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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 223.3 MB / 241 MB, free: 11.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007769/0.0007772, allocations: 96.31 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002371, allocations: 8 kB / 351.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2246, allocations: 50.41 MB / 402.2 MB, free: 32.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001286/0.226, allocations: 1.144 MB / 403.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002577/0.2263, allocations: 100.3 kB / 403.5 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.2263, allocations: 0 / 403.5 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.2264, allocations: 4.625 kB / 403.5 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.2264, allocations: 0 / 403.5 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2267, allocations: 25.94 kB / 403.5 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.2268, allocations: 27.88 kB / 403.5 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.2269, allocations: 7.984 kB / 403.5 MB, free: 31.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.2269, allocations: 8 kB / 403.5 MB, free: 31.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.227, allocations: 5.188 kB / 403.5 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.227, allocations: 4 kB / 403.5 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.227, allocations: 0 / 403.5 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.227, allocations: 10.02 kB / 403.5 MB, free: 31.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.227, allocations: 33.7 kB / 403.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.745e-05/0.2271, allocations: 15.95 kB / 403.6 MB, free: 31.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.2271, allocations: 0 / 403.6 MB, free: 31.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2271, allocations: 0 / 403.6 MB, free: 31.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2271, allocations: 0 / 403.6 MB, free: 31.19 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.0003678/0.2275, allocations: 334.2 kB / 403.9 MB, free: 30.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2276, allocations: 11.97 kB / 403.9 MB, free: 30.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.2276, allocations: 8.578 kB / 403.9 MB, free: 30.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2277, allocations: 182.9 kB / 404.1 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2278, allocations: 0 / 404.1 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2278, allocations: 7.938 kB / 404.1 MB, free: 30.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.2281, allocations: 111.2 kB / 404.2 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2281, allocations: 4 kB / 404.2 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2281, allocations: 4 kB / 404.2 MB, free: 30.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2281, allocations: 0 / 404.2 MB, free: 30.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.2282, allocations: 23.94 kB / 404.3 MB, free: 30.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000109/0.2283, allocations: 153.7 kB / 404.4 MB, free: 30.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.2285, allocations: 62.55 kB / 404.5 MB, free: 30.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.2285, allocations: 24.92 kB / 404.5 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2286, allocations: 0 / 404.5 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2286, allocations: 42.5 kB / 404.5 MB, free: 30.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.2286, allocations: 3.984 kB / 404.5 MB, free: 30.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002163/0.2288, allocations: 73.67 kB / 404.6 MB, free: 29.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.2288, allocations: 51.41 kB / 404.7 MB, free: 29.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.2289, allocations: 113.7 kB / 404.8 MB, free: 29.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.2289, allocations: 25.7 kB / 404.8 MB, free: 29.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/0.229, allocations: 88.14 kB / 404.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-06/0.229, allocations: 3.984 kB / 404.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.229, allocations: 4 kB / 404.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.229, allocations: 314.8 kB / 405.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-06/0.229, allocations: 4 kB / 405.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.2291, allocations: 31.36 kB / 405.2 MB, free: 29.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.777e-05/0.2291, allocations: 8 kB / 405.2 MB, free: 29.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2291, allocations: 4 kB / 405.3 MB, free: 29.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.566e-05/0.2292, allocations: 49.64 kB / 405.3 MB, free: 29.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2292, allocations: 7.984 kB / 405.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2292, allocations: 4 kB / 405.3 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2292, allocations: 0 / 405.3 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.2292, allocations: 8.188 kB / 405.3 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2293, allocations: 4 kB / 405.3 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/0.2293, allocations: 4 kB / 405.3 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.2293, allocations: 8.078 kB / 405.3 MB, free: 29.21 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.2294, allocations: 113.8 kB / 405.4 MB, free: 29.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.2295, allocations: 65.58 kB / 405.5 MB, free: 29.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.2295, allocations: 7.906 kB / 405.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2295, allocations: 0 / 405.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2295, allocations: 3.938 kB / 405.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2295, allocations: 0 / 405.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.078e-05/0.2296, allocations: 161.6 kB / 405.7 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2296, allocations: 4 kB / 405.7 MB, free: 28.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.2296, allocations: 15.92 kB / 405.7 MB, free: 28.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2296, allocations: 0 / 405.7 MB, free: 28.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.2296, allocations: 4 kB / 405.7 MB, free: 28.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2296, allocations: 0 / 405.7 MB, free: 28.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2297, allocations: 0 / 405.7 MB, free: 28.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.2298, allocations: 93.06 kB / 405.8 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.2298, allocations: 81.05 kB / 405.9 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2298, allocations: 0 / 405.9 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/0.2298, allocations: 4 kB / 405.9 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-06/0.2298, allocations: 0 / 405.9 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.2299, allocations: 3.984 kB / 405.9 MB, free: 28.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.267e-05/0.2299, allocations: 87.28 kB / 406 MB, free: 28.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2299, allocations: 0 / 406 MB, free: 28.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.2301, allocations: 0 / 406 MB, free: 28.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.066e-05/0.2302, allocations: 107.2 kB / 406.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.502e-05/0.2303, allocations: 23.92 kB / 406.1 MB, free: 28.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2303, allocations: 0 / 406.1 MB, free: 28.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2303, allocations: 0 / 406.1 MB, free: 28.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.2305, allocations: 31.88 kB / 406.1 MB, free: 28.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.2307, allocations: 151.1 kB / 406.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2309, allocations: 0.6809 MB / 407 MB, free: 27.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.2309, allocations: 11.38 kB / 407 MB, free: 27.4 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2309, allocations: 4 kB / 407 MB, free: 27.4 MB / 298.7 MB Notification: Performance of Templates: time 0.001642/0.2325, allocations: 0.5427 MB / 407.5 MB, free: 26.86 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches