Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 59.91 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2527, allocations: 50.54 MB / 409.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002437/0.2552, allocations: 1.515 MB / 411.4 MB, free: 156 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003357/0.2555, allocations: 139.5 kB / 411.6 MB, free: 16 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.2556, allocations: 4 kB / 411.6 MB, free: 12 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.2556, allocations: 3.938 kB / 411.6 MB, free: 8 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.2558, allocations: 7.938 kB / 411.6 MB, free: 0 / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.256, allocations: 35.89 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.473e-05/0.2561, allocations: 35.92 kB / 411.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.524e-05/0.2562, allocations: 11.98 kB / 411.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.2562, allocations: 7.938 kB / 411.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.583e-05/0.2563, allocations: 19.86 kB / 411.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2563, allocations: 4 kB / 411.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.2563, allocations: 4 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.2564, allocations: 11.98 kB / 411.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.2564, allocations: 31.8 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.991e-05/0.2565, allocations: 39.83 kB / 411.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2565, allocations: 0 / 411.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2565, allocations: 0 / 411.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.2565, allocations: 4 kB / 411.8 MB, free: 15.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003975/0.2569, allocations: 359 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.257, allocations: 11.97 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.257, allocations: 12.84 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.2572, allocations: 193.5 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.2572, allocations: 4.375 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.2573, allocations: 8.359 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.2575, allocations: 109.6 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2575, allocations: 192 / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2575, allocations: 3.938 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2575, allocations: 3.938 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.2576, allocations: 19.92 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.2579, allocations: 257.8 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.2581, allocations: 142.2 kB / 412.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.2581, allocations: 21.78 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2581, allocations: 0 / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2582, allocations: 46.55 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.2582, allocations: 4 kB / 413 MB, free: 14.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002053/0.2584, allocations: 69.53 kB / 413 MB, free: 14.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.2585, allocations: 81.05 kB / 413.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2586, allocations: 133.8 kB / 413.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.2586, allocations: 25.7 kB / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.2586, allocations: 88.14 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.2586, allocations: 3.906 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.2587, allocations: 17.84 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.2588, allocations: 322.8 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.2588, allocations: 4 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.2589, allocations: 31.61 kB / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.259, allocations: 43.38 kB / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.259, allocations: 0 / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001026/0.2591, allocations: 57.66 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2591, allocations: 10.81 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2591, allocations: 0 / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2591, allocations: 3.984 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.602e-05/0.2591, allocations: 19.86 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2592, allocations: 4.125 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.14e-05/0.2592, allocations: 7.906 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.2592, allocations: 0 / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.505e-05/0.2593, allocations: 129.7 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.453e-05/0.2594, allocations: 41.69 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.2594, allocations: 11.91 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2594, allocations: 0 / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.2594, allocations: 4 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2594, allocations: 3.984 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.2596, allocations: 169.5 kB / 414.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2596, allocations: 0 / 414.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.2596, allocations: 7.922 kB / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2596, allocations: 4 kB / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2596, allocations: 0 / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2597, allocations: 0 / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2597, allocations: 0 / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.2598, allocations: 168.2 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.2599, allocations: 89 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.2599, allocations: 7.938 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.26, allocations: 4 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.26, allocations: 3.984 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.26, allocations: 4 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.197e-05/0.2601, allocations: 98.5 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2601, allocations: 0 / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.2603, allocations: 8 kB / 414.6 MB, free: 12.57 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: 4 (step.y,assignClock.u,assignClock.y,sample1.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 8.49e-05/0.2604, allocations: 107.2 kB / 414.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.2605, allocations: 23.98 kB / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2605, allocations: 3.938 kB / 414.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.2606, allocations: 7.984 kB / 414.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.2609, allocations: 19.97 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.2612, allocations: 176.5 kB / 414.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.2614, allocations: 0.6885 MB / 415.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.2614, allocations: 7.438 kB / 415.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2614, allocations: 0 / 415.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of Templates: time 0.001778/0.2632, allocations: 0.6937 MB / 416.3 MB, free: 10.78 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches