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.001664/0.001664, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002585/0.002585, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 55.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4255, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00356/0.4291, allocations: 1.51 MB / 410.7 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006019/0.4298, allocations: 139.5 kB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.4299, allocations: 0 / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.777e-05/0.43, allocations: 3.938 kB / 410.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.4303, allocations: 7.922 kB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.4306, allocations: 43.84 kB / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.4308, allocations: 35.91 kB / 411 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.4309, allocations: 15.98 kB / 411 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.4309, allocations: 11.94 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.431, allocations: 19.86 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.431, allocations: 4 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.431, allocations: 0 / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.4311, allocations: 4 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.4312, allocations: 31.8 kB / 411.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.4313, allocations: 47.81 kB / 411.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4313, allocations: 3.938 kB / 411.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4313, allocations: 0 / 411.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4313, allocations: 0 / 411.1 MB, free: 15.71 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.0006125/0.432, allocations: 363 kB / 411.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.432, allocations: 8.031 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.4321, allocations: 8.844 kB / 411.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.4324, allocations: 193.5 kB / 411.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.4325, allocations: 8.359 kB / 411.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.4325, allocations: 4.375 kB / 411.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.4328, allocations: 113.5 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4328, allocations: 192 / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4328, allocations: 11.94 kB / 411.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4329, allocations: 0 / 411.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.777e-05/0.4329, allocations: 11.98 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.4333, allocations: 261.8 kB / 412.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.4335, allocations: 146.2 kB / 412.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.4336, allocations: 21.72 kB / 412.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4336, allocations: 0 / 412.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.4337, allocations: 38.48 kB / 412.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4337, allocations: 4 kB / 412.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002462/0.4339, allocations: 61.72 kB / 412.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.434, allocations: 89.05 kB / 412.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.4341, allocations: 133.8 kB / 412.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4342, allocations: 25.7 kB / 412.6 MB, free: 14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.4342, allocations: 84.14 kB / 412.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.4342, allocations: 7.906 kB / 412.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.4343, allocations: 21.66 kB / 412.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4344, allocations: 314.8 kB / 413 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/0.4345, allocations: 12 kB / 413 MB, free: 13.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.4345, allocations: 31.42 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.396e-05/0.4346, allocations: 35.38 kB / 413.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4346, allocations: 4 kB / 413.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001233/0.4348, allocations: 65.56 kB / 413.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4348, allocations: 10.97 kB / 413.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4348, allocations: 0 / 413.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.4348, allocations: 3.938 kB / 413.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.858e-05/0.4349, allocations: 11.92 kB / 413.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4349, allocations: 0 / 413.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.4349, allocations: 3.906 kB / 413.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.4349, allocations: 8.125 kB / 413.2 MB, free: 13.35 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 0.0001329/0.4351, allocations: 125.7 kB / 413.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.037e-05/0.4352, allocations: 49.69 kB / 413.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.4352, allocations: 11.91 kB / 413.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4352, allocations: 0 / 413.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4352, allocations: 0 / 413.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4352, allocations: 11.92 kB / 413.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.4355, allocations: 169.5 kB / 413.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4355, allocations: 0 / 413.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/0.4355, allocations: 7.984 kB / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4355, allocations: 0 / 413.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.4355, allocations: 4 kB / 413.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4355, allocations: 0 / 413.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4356, allocations: 0 / 413.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.4357, allocations: 160.2 kB / 413.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.4358, allocations: 93.38 kB / 413.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.4358, allocations: 4 kB / 413.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.549e-05/0.4359, allocations: 4 kB / 413.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.4359, allocations: 7.922 kB / 413.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4359, allocations: 3.984 kB / 413.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.843e-05/0.436, allocations: 106.9 kB / 413.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.436, allocations: 0 / 413.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.4362, allocations: 4 kB / 413.9 MB, free: 12.49 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 0.0001154/0.4364, allocations: 99.25 kB / 414 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.4366, allocations: 27.92 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4366, allocations: 0 / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-05/0.4366, allocations: 11.98 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.437, allocations: 26.14 kB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.4373, allocations: 142.5 kB / 414.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.4377, allocations: 0.6965 MB / 414.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.456e-05/0.4377, allocations: 0 / 414.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.4378, allocations: 11.44 kB / 414.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4378, allocations: 3.938 kB / 414.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of Templates: time 0.003272/0.441, allocations: 0.4888 MB / 415.4 MB, free: 10.93 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/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