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.0009006/0.0009006, allocations: 95.55 kB / 17.31 MB, free: 6.109 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.001087/0.001087, allocations: 178.4 kB / 18.21 MB, free: 5.41 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.276/1.276, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002199/0.0002199, allocations: 4 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07306/0.0733, allocations: 50.42 MB / 352.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.0009283/0.07424, allocations: 0.5665 MB / 353.1 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002591/0.07451, allocations: 119.6 kB / 353.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.07459, allocations: 4 kB / 353.2 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.07462, allocations: 7.922 kB / 353.2 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.475e-05/0.07471, allocations: 0 / 353.2 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.07491, allocations: 31.91 kB / 353.2 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.07499, allocations: 39.91 kB / 353.3 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.908e-05/0.07509, allocations: 19.98 kB / 353.3 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.507e-05/0.07512, allocations: 15.92 kB / 353.3 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.683e-05/0.07515, allocations: 11.88 kB / 353.3 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.07517, allocations: 0 / 353.3 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-06/0.07518, allocations: 4 kB / 353.3 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.07523, allocations: 15.92 kB / 353.3 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.07528, allocations: 49.5 kB / 353.4 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.099e-05/0.07535, allocations: 35.88 kB / 353.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.07536, allocations: 0 / 353.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.21e-07/0.07536, allocations: 0 / 353.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.504e-06/0.07537, allocations: 0 / 353.4 MB, free: 2.777 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.0002875/0.07566, allocations: 359.6 kB / 353.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.0757, allocations: 8.031 kB / 353.8 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.07573, allocations: 8.844 kB / 353.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.07589, allocations: 200 kB / 354 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.07591, allocations: 4.375 kB / 354 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.07593, allocations: 8.375 kB / 354 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.07617, allocations: 139.7 kB / 354.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.07619, allocations: 192 / 354.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.0762, allocations: 3.938 kB / 354.1 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.07621, allocations: 3.938 kB / 354.1 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.07626, allocations: 19.98 kB / 354.2 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.07638, allocations: 169.7 kB / 354.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.07651, allocations: 66.7 kB / 354.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.07658, allocations: 36.89 kB / 354.4 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.07659, allocations: 4 kB / 354.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.07662, allocations: 38.48 kB / 354.5 MB, free: 1.559 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.07662, allocations: 0 / 354.5 MB, free: 1.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001655/0.07679, allocations: 85.53 kB / 354.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.07685, allocations: 59.41 kB / 354.6 MB, free: 1.398 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.07695, allocations: 137.8 kB / 354.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.07697, allocations: 25.7 kB / 354.8 MB, free: 1.223 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.07701, allocations: 92.12 kB / 354.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.07703, allocations: 7.891 kB / 354.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.07706, allocations: 17.72 kB / 354.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.07714, allocations: 314.8 kB / 355.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.07717, allocations: 15.94 kB / 355.2 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/0.07722, allocations: 58.86 kB / 355.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.549e-05/0.07729, allocations: 74.69 kB / 355.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.0773, allocations: 4 kB / 355.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001161/0.07742, allocations: 81.56 kB / 355.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.07744, allocations: 4 kB / 355.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.07745, allocations: 8.188 kB / 355.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.07747, allocations: 8.172 kB / 355.4 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.807e-05/0.07749, allocations: 7.938 kB / 355.4 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.07751, allocations: 7.938 kB / 355.4 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.07755, allocations: 3.906 kB / 355.5 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.07756, allocations: 4 kB / 355.5 MB, free: 464 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 7.306e-05/0.07764, allocations: 129 kB / 355.6 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.07772, allocations: 69.59 kB / 355.6 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.07777, allocations: 20.3 kB / 355.7 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.07777, allocations: 4 kB / 355.7 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.07778, allocations: 0 / 355.7 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.07779, allocations: 4 kB / 355.7 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.486e-05/0.07788, allocations: 165.7 kB / 355.8 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.07789, allocations: 0 / 355.8 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.0779, allocations: 4 kB / 355.8 MB, free: 0 / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.07791, allocations: 0 / 355.8 MB, free: 0 / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.07794, allocations: 8.125 kB / 355.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.07794, allocations: 4 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.07795, allocations: 0 / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.07806, allocations: 105 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.07812, allocations: 92.94 kB / 356 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.07815, allocations: 7.938 kB / 356.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.07817, allocations: 0 / 356.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-06/0.07817, allocations: 3.984 kB / 356.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.07818, allocations: 4 kB / 356.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.392e-05/0.07824, allocations: 99.27 kB / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07825, allocations: 0 / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.07846, allocations: 12 kB / 356.2 MB, free: 15.63 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 6.805e-05/0.07853, allocations: 107.2 kB / 356.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.651e-05/0.07863, allocations: 51.84 kB / 356.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.07864, allocations: 0 / 356.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.07865, allocations: 0 / 356.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.07892, allocations: 50.45 kB / 356.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.0792, allocations: 201.1 kB / 356.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.07941, allocations: 0.6926 MB / 357.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.07944, allocations: 11.44 kB / 357.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.07944, allocations: 0 / 357.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Templates: time 0.001898/0.08134, allocations: 0.7781 MB / 358.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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