Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 113.7 kB / 17.74 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009572/0.0009572, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2586, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002612/0.2613, allocations: 1.483 MB / 402.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.2617, allocations: 147.4 kB / 403 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.2618, allocations: 0 / 403 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.2618, allocations: 3.938 kB / 403 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.2619, allocations: 15.92 kB / 403 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.2622, allocations: 31.91 kB / 403.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.905e-05/0.2623, allocations: 27.92 kB / 403.1 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.2624, allocations: 8 kB / 403.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.2624, allocations: 11.92 kB / 403.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.126e-05/0.2624, allocations: 11.94 kB / 403.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2625, allocations: 0 / 403.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.2625, allocations: 4 kB / 403.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.2625, allocations: 19.91 kB / 403.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.2626, allocations: 19.88 kB / 403.2 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2627, allocations: 39.83 kB / 403.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2627, allocations: 0 / 403.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2627, allocations: 4 kB / 403.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2627, allocations: 0 / 403.2 MB, free: 7.023 MB / 318.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.0004204/0.2631, allocations: 352.4 kB / 403.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2632, allocations: 8.031 kB / 403.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.2632, allocations: 12.84 kB / 403.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2634, allocations: 200.1 kB / 403.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2634, allocations: 384 / 403.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.2635, allocations: 8.375 kB / 403.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.2637, allocations: 85.61 kB / 403.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.2637, allocations: 192 / 403.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.2637, allocations: 3.938 kB / 403.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2637, allocations: 4 kB / 403.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.2638, allocations: 15.98 kB / 403.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.2641, allocations: 253.7 kB / 404.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.2642, allocations: 45.09 kB / 404.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.2642, allocations: 25.75 kB / 404.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2642, allocations: 0 / 404.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.2643, allocations: 38.5 kB / 404.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2643, allocations: 0 / 404.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001903/0.2645, allocations: 53.69 kB / 404.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.2645, allocations: 81.3 kB / 404.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2647, allocations: 129.8 kB / 404.5 MB, free: 5.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2647, allocations: 29.7 kB / 404.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.2647, allocations: 92.03 kB / 404.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-06/0.2647, allocations: 0 / 404.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.2648, allocations: 17.72 kB / 404.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2649, allocations: 314.8 kB / 405 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.2649, allocations: 8 kB / 405 MB, free: 5.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.265, allocations: 21.7 kB / 405 MB, free: 5.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.18e-05/0.265, allocations: 25.66 kB / 405 MB, free: 4.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.265, allocations: 3.938 kB / 405 MB, free: 4.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.461e-05/0.2651, allocations: 49.53 kB / 405.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2651, allocations: 4 kB / 405.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2652, allocations: 8.125 kB / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2652, allocations: 0 / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.45e-05/0.2652, allocations: 0 / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2652, allocations: 0 / 405.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.2652, allocations: 11.92 kB / 405.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.2652, allocations: 0 / 405.1 MB, free: 4.895 MB / 318.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.967e-05/0.2653, allocations: 117.8 kB / 405.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.2654, allocations: 37.7 kB / 405.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.2654, allocations: 7.516 kB / 405.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2654, allocations: 4.031 kB / 405.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2655, allocations: 4 kB / 405.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2655, allocations: 0 / 405.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.2656, allocations: 165.6 kB / 405.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2656, allocations: 0 / 405.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-06/0.2656, allocations: 3.984 kB / 405.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2656, allocations: 0 / 405.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2657, allocations: 4 kB / 405.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2657, allocations: 4 kB / 405.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2657, allocations: 0 / 405.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.2658, allocations: 160.2 kB / 405.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.2659, allocations: 93 kB / 405.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2659, allocations: 0 / 405.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.266, allocations: 0 / 405.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.266, allocations: 4 kB / 405.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.266, allocations: 0 / 405.7 MB, free: 4.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.2661, allocations: 111.1 kB / 405.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2661, allocations: 0 / 405.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.2663, allocations: 4 kB / 405.8 MB, free: 4.086 MB / 318.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 9.75e-05/0.2664, allocations: 104 kB / 405.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.2665, allocations: 23.92 kB / 405.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2665, allocations: 0 / 405.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.2666, allocations: 4 kB / 405.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.2669, allocations: 24.09 kB / 405.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.2672, allocations: 172 kB / 406.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2675, allocations: 0.6883 MB / 406.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.2675, allocations: 11.44 kB / 406.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2675, allocations: 0 / 406.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of Templates: time 0.001861/0.2694, allocations: 0.6126 MB / 407.4 MB, free: 2.383 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches