Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 116.2 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2471, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002733/0.2498, allocations: 1.48 MB / 411.4 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003859/0.2503, allocations: 143.5 kB / 411.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.2504, allocations: 4 kB / 411.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.2504, allocations: 3.938 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.2506, allocations: 7.922 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.2508, allocations: 35.91 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.547e-05/0.2509, allocations: 23.92 kB / 411.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.251, allocations: 12 kB / 411.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.251, allocations: 11.92 kB / 411.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.688e-05/0.2511, allocations: 11.88 kB / 411.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2511, allocations: 8 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.2511, allocations: 0 / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.2512, allocations: 19.91 kB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.2512, allocations: 15.88 kB / 411.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.382e-05/0.2513, allocations: 43.83 kB / 411.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2513, allocations: 0 / 411.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2513, allocations: 0 / 411.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.2513, allocations: 0 / 411.7 MB, free: 15.74 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003792/0.2517, allocations: 354.9 kB / 412.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.2518, allocations: 12.02 kB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.2518, allocations: 12.84 kB / 412.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.252, allocations: 193.5 kB / 412.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2521, allocations: 4.375 kB / 412.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2521, allocations: 384 / 412.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.2523, allocations: 89.61 kB / 412.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2523, allocations: 4.188 kB / 412.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2523, allocations: 7.922 kB / 412.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2523, allocations: 0 / 412.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.2524, allocations: 15.98 kB / 412.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.2527, allocations: 253.8 kB / 412.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.735e-05/0.2528, allocations: 45.22 kB / 412.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.2528, allocations: 17.7 kB / 412.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2528, allocations: 4 kB / 412.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.2529, allocations: 34.5 kB / 412.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2529, allocations: 0 / 412.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001928/0.2531, allocations: 61.84 kB / 412.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2531, allocations: 77.11 kB / 412.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2532, allocations: 136.7 kB / 413 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.2533, allocations: 29.7 kB / 413.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.2533, allocations: 84.12 kB / 413.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.2533, allocations: 0 / 413.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.2533, allocations: 17.72 kB / 413.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.2535, allocations: 314.8 kB / 413.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.2535, allocations: 8.016 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.2535, allocations: 21.66 kB / 413.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.118e-05/0.2536, allocations: 21.66 kB / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2536, allocations: 0 / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.18e-05/0.2537, allocations: 57.59 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2537, allocations: 8 kB / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2537, allocations: 0 / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2537, allocations: 3.938 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.489e-05/0.2538, allocations: 3.938 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2538, allocations: 3.984 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.2538, allocations: 4 kB / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.2538, allocations: 0 / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.917e-05/0.2539, allocations: 121.7 kB / 413.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.254, allocations: 45.75 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.254, allocations: 15.48 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.254, allocations: 0 / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.254, allocations: 0 / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.254, allocations: 0 / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.2542, allocations: 169.6 kB / 413.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2542, allocations: 0 / 413.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-06/0.2542, allocations: 4 kB / 413.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2542, allocations: 0 / 413.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.2542, allocations: 0 / 413.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2542, allocations: 3.969 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2542, allocations: 4 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.2544, allocations: 152.2 kB / 414.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.2544, allocations: 93 kB / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2545, allocations: 0 / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/0.2545, allocations: 4 kB / 414.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.2546, allocations: 4.031 kB / 414.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.2546, allocations: 0 / 414.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.541e-05/0.2546, allocations: 107.2 kB / 414.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2547, allocations: 0 / 414.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.2549, allocations: 4 kB / 414.3 MB, free: 12.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001006/0.255, allocations: 95.25 kB / 414.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.2551, allocations: 23.92 kB / 414.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2551, allocations: 4.125 kB / 414.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.431e-05/0.2551, allocations: 7.938 kB / 414.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2555, allocations: 21.69 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.2558, allocations: 168 kB / 414.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.256, allocations: 0.6885 MB / 415.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.2561, allocations: 11.44 kB / 415.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2561, allocations: 160 / 415.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Templates: time 0.001885/0.258, allocations: 0.6242 MB / 415.9 MB, free: 11.09 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches