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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001536/0.001536, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.631/1.631, allocations: 230.3 MB / 258 MB, free: 8.195 MB / 206.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.88 kB / 378.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4094, allocations: 53.36 MB / 432.1 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003352/0.4127, allocations: 1.535 MB / 433.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005046/0.4132, allocations: 139.5 kB / 433.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.4133, allocations: 0 / 433.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.446e-05/0.4134, allocations: 3.938 kB / 433.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.4135, allocations: 7.922 kB / 433.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.4138, allocations: 43.53 kB / 433.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.4139, allocations: 31.91 kB / 433.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.414, allocations: 15.94 kB / 433.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.4141, allocations: 15.98 kB / 433.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.921e-05/0.4141, allocations: 15.86 kB / 433.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.4141, allocations: 4 kB / 433.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.4142, allocations: 4 kB / 433.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.4142, allocations: 11.94 kB / 433.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.4143, allocations: 15.88 kB / 434 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.4144, allocations: 51.55 kB / 434 MB, free: 5.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4144, allocations: 3.984 kB / 434 MB, free: 5.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.4144, allocations: 0 / 434 MB, free: 5.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4144, allocations: 0 / 434 MB, free: 5.148 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.0005943/0.415, allocations: 291.9 kB / 434.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.4151, allocations: 12.02 kB / 434.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.4151, allocations: 8.891 kB / 434.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.4154, allocations: 130.4 kB / 434.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.4155, allocations: 4.375 kB / 434.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4155, allocations: 4.375 kB / 434.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.4159, allocations: 121.5 kB / 434.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.4159, allocations: 192 / 434.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4159, allocations: 11.94 kB / 434.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4159, allocations: 0 / 434.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.416, allocations: 15.98 kB / 434.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.4164, allocations: 232.8 kB / 434.8 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.4166, allocations: 57.14 kB / 434.9 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.4167, allocations: 25.77 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.4167, allocations: 4 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.4168, allocations: 38.5 kB / 434.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4168, allocations: 3.938 kB / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003003/0.4171, allocations: 69.58 kB / 435 MB, free: 3.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.4172, allocations: 85.09 kB / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.4173, allocations: 128.6 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.4173, allocations: 33.7 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.4174, allocations: 84.27 kB / 435.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.4174, allocations: 3.938 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.4175, allocations: 17.72 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.4177, allocations: 322.8 kB / 435.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.4177, allocations: 4 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.87e-05/0.4178, allocations: 31.42 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.4179, allocations: 47.31 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4179, allocations: 0 / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001269/0.418, allocations: 65.52 kB / 435.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.418, allocations: 8.109 kB / 435.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4181, allocations: 4 kB / 435.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4181, allocations: 7.938 kB / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.165e-05/0.4181, allocations: 0 / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4181, allocations: 4 kB / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.4181, allocations: 288 / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.4181, allocations: 4 kB / 435.8 MB, free: 3.07 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.000164/0.4183, allocations: 121.8 kB / 436 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.4184, allocations: 53.64 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.4184, allocations: 11.98 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4184, allocations: 7.938 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4184, allocations: 0 / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4184, allocations: 0 / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.4186, allocations: 140.7 kB / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.4186, allocations: 4 kB / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-06/0.4186, allocations: 0 / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4187, allocations: 0 / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4187, allocations: 0 / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4187, allocations: 4 kB / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4187, allocations: 0 / 436.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.4189, allocations: 164.3 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.4189, allocations: 15.94 kB / 436.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4189, allocations: 4 kB / 436.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.419, allocations: 7.938 kB / 436.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.4191, allocations: 3.984 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.4191, allocations: 0 / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.4191, allocations: 107.3 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4191, allocations: 0 / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00022/0.4194, allocations: 7.938 kB / 436.5 MB, free: 2.344 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.0001329/0.4195, allocations: 99.25 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.4197, allocations: 23.92 kB / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4197, allocations: 0 / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.4197, allocations: 8.234 kB / 436.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.42, allocations: 33.22 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.4204, allocations: 154.3 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.4209, allocations: 0.6924 MB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.249e-05/0.4209, allocations: 0 / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.421, allocations: 11.44 kB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.421, allocations: 0 / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of Templates: time 0.003318/0.4243, allocations: 0.5076 MB / 438 MB, free: 0.7656 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.157344805076718]