Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 111.6 kB / 17.06 MB, free: 6 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.001697/0.001697, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.588/1.588, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 43.94 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4139, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003035/0.417, allocations: 1.505 MB / 402.2 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004856/0.4175, allocations: 143.5 kB / 402.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.4176, allocations: 0 / 402.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.288e-05/0.4176, allocations: 3.938 kB / 402.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.4178, allocations: 11.94 kB / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.418, allocations: 38.52 kB / 402.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.799e-05/0.4181, allocations: 31.92 kB / 402.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4182, allocations: 15.98 kB / 402.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.4183, allocations: 15.92 kB / 402.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.4183, allocations: 15.86 kB / 402.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.4183, allocations: 4 kB / 402.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.4183, allocations: 0 / 402.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.4184, allocations: 11.98 kB / 402.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.4184, allocations: 27.81 kB / 402.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.4186, allocations: 51.75 kB / 402.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4186, allocations: 0 / 402.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4186, allocations: 0 / 402.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4186, allocations: 0 / 402.6 MB, free: 7.016 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004394/0.419, allocations: 360.4 kB / 402.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4191, allocations: 11.97 kB / 402.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.4191, allocations: 8.844 kB / 403 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.4194, allocations: 200.1 kB / 403.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.4194, allocations: 384 / 403.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.4194, allocations: 4.375 kB / 403.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.4197, allocations: 117.5 kB / 403.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4197, allocations: 4.188 kB / 403.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4197, allocations: 3.938 kB / 403.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4197, allocations: 0 / 403.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.134e-05/0.4198, allocations: 15.98 kB / 403.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.4202, allocations: 261.8 kB / 403.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.4204, allocations: 138.2 kB / 403.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.4205, allocations: 25.78 kB / 403.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.4205, allocations: 4 kB / 403.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.4206, allocations: 34.5 kB / 403.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.4206, allocations: 4 kB / 403.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002599/0.4208, allocations: 73.61 kB / 403.8 MB, free: 5.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.4209, allocations: 81.11 kB / 403.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4211, allocations: 129.8 kB / 404 MB, free: 5.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.4211, allocations: 25.7 kB / 404.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.4212, allocations: 88.12 kB / 404.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.4212, allocations: 4 kB / 404.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.4212, allocations: 21.62 kB / 404.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4214, allocations: 310.8 kB / 404.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/0.4214, allocations: 16.02 kB / 404.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.4215, allocations: 27.44 kB / 404.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.24e-05/0.4215, allocations: 43.36 kB / 404.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4215, allocations: 0 / 404.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001185/0.4217, allocations: 65.56 kB / 404.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4217, allocations: 11.94 kB / 404.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4217, allocations: 0 / 404.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4217, allocations: 0 / 404.6 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.319e-05/0.4218, allocations: 7.938 kB / 404.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4218, allocations: 3.984 kB / 404.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.4218, allocations: 4.125 kB / 404.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.4218, allocations: 4 kB / 404.7 MB, free: 4.652 MB / 318.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.0001024/0.4219, allocations: 121.8 kB / 404.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.422, allocations: 57.8 kB / 404.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.4221, allocations: 11.91 kB / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4221, allocations: 0 / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4221, allocations: 0 / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4221, allocations: 4 kB / 404.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.4223, allocations: 169.5 kB / 405 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4223, allocations: 0 / 405 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-06/0.4223, allocations: 4 kB / 405 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4223, allocations: 0 / 405 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4223, allocations: 15.92 kB / 405 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.4224, allocations: 0 / 405 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4224, allocations: 0 / 405 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.4226, allocations: 160.2 kB / 405.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.4226, allocations: 92.94 kB / 405.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.4227, allocations: 8 kB / 405.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/0.4227, allocations: 4 kB / 405.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.4228, allocations: 0 / 405.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.4228, allocations: 7.984 kB / 405.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.632e-05/0.4229, allocations: 106.6 kB / 405.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4229, allocations: 0 / 405.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.4231, allocations: 4 kB / 405.4 MB, free: 3.793 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: 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.0001446/0.4233, allocations: 103.2 kB / 405.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.4234, allocations: 27.92 kB / 405.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4234, allocations: 0 / 405.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-05/0.4235, allocations: 4 kB / 405.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4238, allocations: 31.05 kB / 405.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.4241, allocations: 142.4 kB / 405.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.4245, allocations: 0.6964 MB / 406.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.897e-05/0.4245, allocations: 0 / 406.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.4245, allocations: 11.44 kB / 406.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of SimCode: time 1.773e-06/0.4245, allocations: 0 / 406.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of Templates: time 0.002664/0.4272, allocations: 0.4949 MB / 406.9 MB, free: 2.23 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches