Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.0007386/0.0007386, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007772/0.0007773, allocations: 182.6 kB / 16.96 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.4 MB / 223.2 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06064/0.06064, allocations: 12.59 MB / 284 MB, free: 8.582 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006332, allocations: 19.98 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07348/0.07413, allocations: 50.39 MB / 395.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.0009911/0.07516, allocations: 0.5798 MB / 396.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.07545, allocations: 111.7 kB / 396.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.07552, allocations: 4 kB / 396.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.07556, allocations: 0 / 396.2 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.527e-05/0.07566, allocations: 7.922 kB / 396.3 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.07591, allocations: 31.97 kB / 396.3 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.769e-05/0.07599, allocations: 31.92 kB / 396.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.07608, allocations: 24.27 kB / 396.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.07611, allocations: 15.86 kB / 396.4 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.07615, allocations: 15.92 kB / 396.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.07617, allocations: 3.938 kB / 396.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.07618, allocations: 4 kB / 396.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.07623, allocations: 11.92 kB / 396.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.07627, allocations: 45.52 kB / 396.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.361e-05/0.07635, allocations: 47.8 kB / 396.5 MB, free: 1.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.07636, allocations: 4 kB / 396.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.07637, allocations: 4 kB / 396.5 MB, free: 1.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.475e-06/0.07637, allocations: 0 / 396.5 MB, free: 1.469 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.0002912/0.07667, allocations: 359.2 kB / 396.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.07671, allocations: 8.031 kB / 396.8 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.07674, allocations: 12.78 kB / 396.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.0769, allocations: 184.3 kB / 397 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.07692, allocations: 4.375 kB / 397 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.07694, allocations: 8.375 kB / 397.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.07718, allocations: 135.8 kB / 397.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.0772, allocations: 192 / 397.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.07721, allocations: 3.938 kB / 397.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.07722, allocations: 0 / 397.2 MB, free: 0.668 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.07726, allocations: 12 kB / 397.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.07739, allocations: 173.6 kB / 397.4 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.07751, allocations: 70.66 kB / 397.4 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.07758, allocations: 44.88 kB / 397.5 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.07759, allocations: 0 / 397.5 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.07762, allocations: 34.56 kB / 397.5 MB, free: 276 kB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 2.604e-06/0.07762, allocations: 3.984 kB / 397.5 MB, free: 272 kB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000156/0.07778, allocations: 93.41 kB / 397.6 MB, free: 172 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.07783, allocations: 59.41 kB / 397.7 MB, free: 100 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.07795, allocations: 141.7 kB / 397.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.07797, allocations: 33.64 kB / 397.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.07801, allocations: 80.14 kB / 397.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.07803, allocations: 8 kB / 397.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.07806, allocations: 17.7 kB / 397.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.07815, allocations: 314.8 kB / 398.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.07817, allocations: 8 kB / 398.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.07822, allocations: 58.86 kB / 398.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.708e-05/0.07829, allocations: 74.75 kB / 398.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.0783, allocations: 0 / 398.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001137/0.07842, allocations: 93.61 kB / 398.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.07844, allocations: 12.03 kB / 398.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.07845, allocations: 3.938 kB / 398.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.07847, allocations: 4 kB / 398.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.768e-05/0.07849, allocations: 4 kB / 398.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.0785, allocations: 3.938 kB / 398.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.07854, allocations: 4 kB / 398.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.07856, allocations: 7.984 kB / 398.5 MB, free: 15.16 MB / 302.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 9.072e-05/0.07865, allocations: 121.8 kB / 398.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.43e-05/0.07874, allocations: 73.58 kB / 398.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.07879, allocations: 20.31 kB / 398.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.0788, allocations: 0 / 398.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.07881, allocations: 3.938 kB / 398.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.07881, allocations: 0 / 398.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.07893, allocations: 173.6 kB / 398.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.07894, allocations: 0 / 398.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.07895, allocations: 4 kB / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.07896, allocations: 0 / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.07897, allocations: 3.938 kB / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.07898, allocations: 0 / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.07899, allocations: 4 kB / 398.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.0791, allocations: 93.42 kB / 399 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.07916, allocations: 93 kB / 399.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.07919, allocations: 7.938 kB / 399.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.07922, allocations: 15.92 kB / 399.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-06/0.07923, allocations: 0 / 399.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.07923, allocations: 3.938 kB / 399.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.532e-05/0.0793, allocations: 107.5 kB / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07931, allocations: 0 / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001951/0.07951, allocations: 11.94 kB / 399.2 MB, free: 14.33 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 8.936e-05/0.07961, allocations: 91.25 kB / 399.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.07972, allocations: 39.92 kB / 399.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.07973, allocations: 4 kB / 399.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.07974, allocations: 0.5 kB / 399.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.08007, allocations: 52.02 kB / 399.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.08034, allocations: 171.4 kB / 399.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.08059, allocations: 0.6972 MB / 400.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.987e-05/0.08062, allocations: 7.984 kB / 400.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.08065, allocations: 15.44 kB / 400.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08065, allocations: 0 / 400.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of Templates: time 0.002247/0.08291, allocations: 0.5695 MB / 400.9 MB, free: 12.63 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches