Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 190.9 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 226.6 MB / 244.7 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008088/0.0008088, allocations: 104.1 kB / 296.8 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002585, allocations: 8 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2545, allocations: 51.3 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001575/0.2561, allocations: 1.144 MB / 409.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.2564, allocations: 95.77 kB / 409.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.2565, allocations: 3.938 kB / 409.3 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.2565, allocations: 3.984 kB / 409.3 MB, free: 26.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.2566, allocations: 0 / 409.3 MB, free: 26.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.2569, allocations: 20.84 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.32e-05/0.2569, allocations: 27.92 kB / 409.3 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2571, allocations: 8.734 kB / 409.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.139e-05/0.2571, allocations: 7.938 kB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.2572, allocations: 9.391 kB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2572, allocations: 0 / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.2572, allocations: 4 kB / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.2572, allocations: 3.938 kB / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.2573, allocations: 39.23 kB / 409.4 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.914e-05/0.2574, allocations: 19.95 kB / 409.4 MB, free: 26.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.2574, allocations: 3.938 kB / 409.4 MB, free: 26.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.2574, allocations: 0 / 409.4 MB, free: 26.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2574, allocations: 1.219 kB / 409.4 MB, free: 26.3 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.0004584/0.2579, allocations: 337 kB / 409.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2579, allocations: 8.031 kB / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.2579, allocations: 5.625 kB / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.2582, allocations: 185 kB / 410 MB, free: 25.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.2582, allocations: 4.375 kB / 410 MB, free: 25.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.2582, allocations: 4.938 kB / 410 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.2586, allocations: 118.8 kB / 410.1 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2586, allocations: 192 / 410.1 MB, free: 25.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2586, allocations: 7.438 kB / 410.1 MB, free: 25.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2586, allocations: 7.984 kB / 410.1 MB, free: 25.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.2587, allocations: 15.98 kB / 410.1 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.2588, allocations: 157.7 kB / 410.3 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.259, allocations: 62.55 kB / 410.3 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.2591, allocations: 28.92 kB / 410.4 MB, free: 25.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2591, allocations: 3.938 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2591, allocations: 34.56 kB / 410.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2591, allocations: 0 / 410.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002126/0.2593, allocations: 81.52 kB / 410.5 MB, free: 25.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2594, allocations: 55.41 kB / 410.5 MB, free: 25.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.894e-05/0.2595, allocations: 101.8 kB / 410.6 MB, free: 24.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2595, allocations: 29.7 kB / 410.7 MB, free: 24.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.2595, allocations: 84.14 kB / 410.7 MB, free: 24.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.2595, allocations: 0 / 410.7 MB, free: 24.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.2595, allocations: 4 kB / 410.7 MB, free: 24.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.2596, allocations: 318.8 kB / 411.1 MB, free: 24.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.2596, allocations: 7.938 kB / 411.1 MB, free: 24.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.2596, allocations: 23.44 kB / 411.1 MB, free: 24.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.2597, allocations: 39.38 kB / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2597, allocations: 0 / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.162e-05/0.2598, allocations: 53.62 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2598, allocations: 4 kB / 411.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2598, allocations: 3.938 kB / 411.2 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2598, allocations: 4 kB / 411.2 MB, free: 24.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.2599, allocations: 7.984 kB / 411.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2599, allocations: 4.125 kB / 411.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.2599, allocations: 8 kB / 411.2 MB, free: 24.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.2599, allocations: 256 / 411.2 MB, free: 24.29 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 6.233e-05/0.26, allocations: 117.8 kB / 411.3 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.671e-05/0.2601, allocations: 61.59 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.2601, allocations: 23.7 kB / 411.4 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2601, allocations: 0 / 411.4 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2601, allocations: 4 kB / 411.4 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2602, allocations: 0 / 411.4 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.909e-05/0.2602, allocations: 153.7 kB / 411.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2602, allocations: 0 / 411.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.2603, allocations: 11.98 kB / 411.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2603, allocations: 0 / 411.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.2603, allocations: 7.938 kB / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2603, allocations: 0 / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2603, allocations: 0 / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2604, allocations: 97.36 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.2605, allocations: 88.95 kB / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.2605, allocations: 3.938 kB / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/0.2605, allocations: 4 kB / 411.8 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.2605, allocations: 0 / 411.8 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2605, allocations: 0 / 411.8 MB, free: 23.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.517e-05/0.2606, allocations: 87.27 kB / 411.9 MB, free: 23.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2606, allocations: 4 kB / 411.9 MB, free: 23.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.2608, allocations: 4 kB / 411.9 MB, free: 23.52 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.643e-05/0.2609, allocations: 96.09 kB / 412 MB, free: 23.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.261, allocations: 27.92 kB / 412 MB, free: 23.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.261, allocations: 0 / 412 MB, free: 23.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.261, allocations: 0 / 412 MB, free: 23.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.2612, allocations: 32.23 kB / 412 MB, free: 23.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.2615, allocations: 146.4 kB / 412.2 MB, free: 23.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.2616, allocations: 0.6848 MB / 412.8 MB, free: 22.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.2616, allocations: 7.438 kB / 412.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2616, allocations: 0 / 412.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of Templates: time 0.001807/0.2634, allocations: 0.5434 MB / 413.4 MB, free: 21.92 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches