Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008185/0.0008186, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.0008752/0.0008755, allocations: 177 kB / 17.56 MB, free: 6.18 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.583/1.583, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 9.75 kB / 301.4 MB, free: 5.91 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 50.41 MB / 351.8 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.00168/0.1187, allocations: 0.582 MB / 352.4 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.1191, allocations: 115.6 kB / 352.5 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1193, allocations: 8 kB / 352.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.981e-05/0.1193, allocations: 7.922 kB / 352.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1195, allocations: 3.984 kB / 352.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1198, allocations: 31.91 kB / 352.6 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.12, allocations: 35.92 kB / 352.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1201, allocations: 27.92 kB / 352.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.1202, allocations: 7.938 kB / 352.6 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.1202, allocations: 19.86 kB / 352.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1203, allocations: 4 kB / 352.7 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.1203, allocations: 0 / 352.7 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.1204, allocations: 11.92 kB / 352.7 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.1204, allocations: 45.52 kB / 352.7 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1206, allocations: 51.78 kB / 352.8 MB, free: 2.531 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1206, allocations: 0 / 352.8 MB, free: 2.531 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1206, allocations: 0 / 352.8 MB, free: 2.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1206, allocations: 0 / 352.8 MB, free: 2.531 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004887/0.1211, allocations: 355.6 kB / 353.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1211, allocations: 12.02 kB / 353.1 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.1212, allocations: 12.84 kB / 353.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1215, allocations: 196 kB / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1215, allocations: 4.375 kB / 353.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.1215, allocations: 4.375 kB / 353.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.1218, allocations: 131.8 kB / 353.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1218, allocations: 192 / 353.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1219, allocations: 11.94 kB / 353.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1219, allocations: 4 kB / 353.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/0.1219, allocations: 15.94 kB / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.1221, allocations: 169.6 kB / 353.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1223, allocations: 66.75 kB / 353.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.145e-05/0.1223, allocations: 36.84 kB / 353.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.1224, allocations: 4 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1224, allocations: 38.5 kB / 353.8 MB, free: 1.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1224, allocations: 0 / 353.8 MB, free: 1.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001975/0.1226, allocations: 89.52 kB / 353.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1227, allocations: 55.41 kB / 354 MB, free: 1.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1228, allocations: 133.8 kB / 354.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1228, allocations: 29.7 kB / 354.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.1229, allocations: 84.14 kB / 354.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1229, allocations: 11.89 kB / 354.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.1229, allocations: 21.66 kB / 354.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.1232, allocations: 326.8 kB / 354.5 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.1232, allocations: 4 kB / 354.6 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.868e-05/0.1232, allocations: 62.8 kB / 354.6 MB, free: 452 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.1233, allocations: 78.75 kB / 354.7 MB, free: 348 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1233, allocations: 0 / 354.7 MB, free: 348 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001181/0.1234, allocations: 81.55 kB / 354.8 MB, free: 260 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1235, allocations: 4 kB / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1235, allocations: 7.938 kB / 354.8 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1235, allocations: 4 kB / 354.8 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-05/0.1235, allocations: 7.938 kB / 354.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1235, allocations: 4.25 kB / 354.8 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.1236, allocations: 11.91 kB / 354.8 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1236, allocations: 4 kB / 354.8 MB, free: 216 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.578e-05/0.1237, allocations: 117.8 kB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/0.1238, allocations: 77.53 kB / 355 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.1238, allocations: 16.3 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1239, allocations: 0 / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1239, allocations: 8 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1239, allocations: 0 / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.124, allocations: 169.7 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.124, allocations: 0 / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.124, allocations: 7.969 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.124, allocations: 0 / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.124, allocations: 11.94 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.124, allocations: 0 / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.124, allocations: 0 / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.1242, allocations: 96.97 kB / 355.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.1243, allocations: 100.9 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.1243, allocations: 3.938 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.1243, allocations: 0 / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-06/0.1243, allocations: 4 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.1243, allocations: 4 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.386e-05/0.1244, allocations: 102.3 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1244, allocations: 4 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.1246, allocations: 8 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001157/0.1248, allocations: 114.2 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.1249, allocations: 44.05 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1249, allocations: 0 / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.1249, allocations: 3.938 kB / 355.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1253, allocations: 44.02 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.1256, allocations: 175.9 kB / 355.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1259, allocations: 0.6926 MB / 356.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.517e-05/0.126, allocations: 7.984 kB / 356.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.126, allocations: 7.438 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.126, allocations: 4 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002811/0.1288, allocations: 0.5688 MB / 357.2 MB, free: 13.68 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches