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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008802/0.0008803, allocations: 181.7 kB / 16.45 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 222.6 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007171/0.0007171, allocations: 94.92 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06027/0.06027, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 16 kB / 392.7 MB, free: 66.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07746/0.07785, allocations: 50.38 MB / 443 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.0009574/0.07885, allocations: 0.5632 MB / 443.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002547/0.07912, allocations: 123.7 kB / 443.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.07919, allocations: 0 / 443.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.07923, allocations: 3.938 kB / 443.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.07934, allocations: 7.984 kB / 443.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.07953, allocations: 27.86 kB / 443.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.07961, allocations: 39.91 kB / 443.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.283e-05/0.0797, allocations: 23.97 kB / 443.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.07973, allocations: 11.88 kB / 443.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.07977, allocations: 11.92 kB / 443.8 MB, free: 15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.07979, allocations: 0 / 443.8 MB, free: 15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.07981, allocations: 7.938 kB / 443.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.07985, allocations: 8 kB / 443.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.07989, allocations: 37.64 kB / 443.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.121e-05/0.07995, allocations: 35.92 kB / 443.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.07996, allocations: 4 kB / 443.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.07997, allocations: 0 / 443.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.07998, allocations: 0 / 443.9 MB, free: 14.9 MB / 298.7 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.0002767/0.08026, allocations: 359.3 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.0803, allocations: 8.031 kB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.08034, allocations: 7.906 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.08049, allocations: 186.9 kB / 444.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.08051, allocations: 7.953 kB / 444.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.08052, allocations: 4 kB / 444.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.08075, allocations: 131.2 kB / 444.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.08077, allocations: 0 / 444.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.08079, allocations: 0 / 444.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.08079, allocations: 0 / 444.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.08083, allocations: 15.98 kB / 444.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.08095, allocations: 173.5 kB / 444.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.08106, allocations: 70.67 kB / 444.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.08112, allocations: 40.89 kB / 444.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.08114, allocations: 0 / 444.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.08116, allocations: 34.5 kB / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 7.22e-07/0.08116, allocations: 0 / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000173/0.08134, allocations: 93.52 kB / 445 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.08139, allocations: 59.39 kB / 445.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/0.08148, allocations: 133.8 kB / 445.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.0815, allocations: 29.7 kB / 445.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.08153, allocations: 84.14 kB / 445.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.08154, allocations: 4 kB / 445.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.08155, allocations: 0 / 445.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.0816, allocations: 322.8 kB / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.08162, allocations: 4 kB / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.08166, allocations: 66.73 kB / 445.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.0817, allocations: 20 kB / 445.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.08171, allocations: 4 kB / 445.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.695e-05/0.08181, allocations: 89.36 kB / 445.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.08183, allocations: 7.984 kB / 445.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.08184, allocations: 4 kB / 445.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.08185, allocations: 0 / 445.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-05/0.08188, allocations: 4.25 kB / 445.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.08189, allocations: 8.312 kB / 445.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.08193, allocations: 4 kB / 445.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.08194, allocations: 7.938 kB / 445.9 MB, free: 12.71 MB / 298.7 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,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.082, allocations: 126.5 kB / 446 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.08208, allocations: 73.55 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.08212, allocations: 20.34 kB / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.08212, allocations: 0 / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.08213, allocations: 0 / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.08214, allocations: 4 kB / 446.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.289e-05/0.08221, allocations: 173.6 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.08221, allocations: 0 / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.08223, allocations: 7.938 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.08224, allocations: 7.938 kB / 446.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.08225, allocations: 4 kB / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.08225, allocations: 0 / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.08226, allocations: 4 kB / 446.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.355e-05/0.08235, allocations: 93.11 kB / 446.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.08239, allocations: 104.9 kB / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.08242, allocations: 3.953 kB / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.595e-05/0.08244, allocations: 0 / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-06/0.08244, allocations: 0 / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.08245, allocations: 0 / 446.5 MB, free: 12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.801e-05/0.0825, allocations: 107.2 kB / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0825, allocations: 0 / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.0827, allocations: 12 kB / 446.6 MB, free: 11.88 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.343e-05/0.08278, allocations: 99.19 kB / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.732e-05/0.08289, allocations: 39.92 kB / 446.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.08289, allocations: 0 / 446.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.0829, allocations: 0 / 446.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.08321, allocations: 47.95 kB / 446.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.08346, allocations: 205.5 kB / 447 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.08358, allocations: 0.6928 MB / 447.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.0836, allocations: 11.44 kB / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.08361, allocations: 3.938 kB / 447.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of Templates: time 0.001833/0.08545, allocations: 0.7892 MB / 448.5 MB, free: 9.926 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.makefile (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) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/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