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.001565/0.001565, allocations: 113.7 kB / 17.06 MB, free: 5.965 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.001734/0.001734, allocations: 198.8 kB / 18.01 MB, free: 5.047 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.647/1.647, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 47.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4088, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003068/0.4119, allocations: 1.508 MB / 402.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004374/0.4124, allocations: 139.5 kB / 402.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.825e-05/0.4125, allocations: 0 / 402.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.317e-05/0.4126, allocations: 3.938 kB / 402.4 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.4128, allocations: 15.92 kB / 402.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.4131, allocations: 35.91 kB / 402.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.4132, allocations: 27.92 kB / 402.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.4133, allocations: 19.97 kB / 402.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.383e-05/0.4134, allocations: 11.94 kB / 402.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.4134, allocations: 19.86 kB / 402.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.4135, allocations: 4 kB / 402.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.4135, allocations: 0 / 402.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.797e-05/0.4135, allocations: 11.98 kB / 402.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.4136, allocations: 19.81 kB / 402.5 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.4137, allocations: 55.69 kB / 402.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4137, allocations: 0 / 402.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4138, allocations: 0 / 402.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.4138, allocations: 0 / 402.6 MB, free: 7.012 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.0005534/0.4143, allocations: 363.2 kB / 402.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4144, allocations: 11.97 kB / 402.9 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.4144, allocations: 8.891 kB / 402.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.4147, allocations: 192.2 kB / 403.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.4147, allocations: 8.375 kB / 403.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.4147, allocations: 12.38 kB / 403.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.415, allocations: 117.5 kB / 403.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.415, allocations: 192 / 403.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.4151, allocations: 7.922 kB / 403.3 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4151, allocations: 4 kB / 403.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.024e-05/0.4151, allocations: 12 kB / 403.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.4155, allocations: 257.8 kB / 403.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.4157, allocations: 138.3 kB / 403.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.4157, allocations: 29.7 kB / 403.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4158, allocations: 3.938 kB / 403.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4158, allocations: 30.56 kB / 403.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4158, allocations: 0 / 403.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002292/0.416, allocations: 69.58 kB / 403.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.4161, allocations: 93.22 kB / 403.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4162, allocations: 129.2 kB / 404 MB, free: 5.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.4163, allocations: 29.7 kB / 404.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.4163, allocations: 84.09 kB / 404.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.4163, allocations: 11.92 kB / 404.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.4164, allocations: 17.72 kB / 404.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4165, allocations: 318.8 kB / 404.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.4166, allocations: 4 kB / 404.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.4166, allocations: 39.42 kB / 404.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.4167, allocations: 35.38 kB / 404.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4167, allocations: 0 / 404.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001094/0.4168, allocations: 77.44 kB / 404.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4168, allocations: 8 kB / 404.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4168, allocations: 0 / 404.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4168, allocations: 0 / 404.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.19e-05/0.4169, allocations: 7.938 kB / 404.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.4169, allocations: 0 / 404.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.4169, allocations: 0 / 404.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4169, allocations: 4 kB / 404.7 MB, free: 4.633 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.0001027/0.417, allocations: 129.9 kB / 404.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.4171, allocations: 49.59 kB / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.4172, allocations: 15.89 kB / 404.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4172, allocations: 0 / 404.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4172, allocations: 0 / 404.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4172, allocations: 4 kB / 404.8 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.4173, allocations: 169.6 kB / 405 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4174, allocations: 3.938 kB / 405 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-06/0.4174, allocations: 0 / 405 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4174, allocations: 4 kB / 405 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4174, allocations: 4 kB / 405 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4174, allocations: 0 / 405 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4174, allocations: 0 / 405 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.4176, allocations: 168.5 kB / 405.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.4176, allocations: 93.09 kB / 405.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.4176, allocations: 3.984 kB / 405.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.4177, allocations: 8 kB / 405.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4177, allocations: 0 / 405.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4178, allocations: 0 / 405.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.341e-05/0.4178, allocations: 103.3 kB / 405.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4178, allocations: 0 / 405.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.418, allocations: 4 kB / 405.4 MB, free: 3.777 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 9.974e-05/0.4181, allocations: 107.2 kB / 405.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.4183, allocations: 31.92 kB / 405.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4183, allocations: 0 / 405.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.4183, allocations: 4 kB / 405.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.4186, allocations: 29.7 kB / 405.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.419, allocations: 158 kB / 405.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.4192, allocations: 0.6925 MB / 406.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.201e-05/0.4193, allocations: 4 kB / 406.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.4193, allocations: 15.44 kB / 406.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of SimCode: time 1.844e-06/0.4193, allocations: 0 / 406.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of Templates: time 0.003343/0.4227, allocations: 491.6 kB / 406.9 MB, free: 2.211 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