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.0009094/0.0009094, allocations: 173.4 kB / 16.8 MB, free: 5.012 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.35/1.35, allocations: 205.4 MB / 223 MB, free: 8.93 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.0007181/0.0007182, allocations: 82.38 kB / 271.3 MB, free: 8.242 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.06704/0.06704, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 19.92 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07645/0.07681, allocations: 50.37 MB / 443.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.0009982/0.07785, allocations: 0.5754 MB / 444.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.07812, allocations: 115.7 kB / 444.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.07822, allocations: 0 / 444.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.07827, allocations: 3.938 kB / 444.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.07838, allocations: 7.984 kB / 444.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.0786, allocations: 31.91 kB / 444.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.07868, allocations: 31.92 kB / 444.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.0788, allocations: 32.23 kB / 444.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.452e-05/0.07883, allocations: 11.88 kB / 444.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.088e-05/0.07886, allocations: 15.92 kB / 444.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.07889, allocations: 0 / 444.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.07891, allocations: 4 kB / 444.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.07896, allocations: 15.92 kB / 444.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.079, allocations: 45.52 kB / 444.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.006e-05/0.07906, allocations: 35.92 kB / 444.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.07907, allocations: 0 / 444.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.07908, allocations: 0 / 444.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.07909, allocations: 0 / 444.6 MB, free: 14.51 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.0002619/0.07936, allocations: 371.1 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.0794, allocations: 12.02 kB / 445 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.07943, allocations: 8.844 kB / 445 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.07956, allocations: 185.6 kB / 445.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.07958, allocations: 8.375 kB / 445.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.0796, allocations: 4.375 kB / 445.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.07983, allocations: 131.8 kB / 445.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.07984, allocations: 192 / 445.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.07986, allocations: 7.938 kB / 445.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.07987, allocations: 4 kB / 445.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.07991, allocations: 12 kB / 445.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.354e-05/0.08001, allocations: 177.6 kB / 445.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.08012, allocations: 70.7 kB / 445.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.08018, allocations: 40.83 kB / 445.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.08019, allocations: 0 / 445.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.08021, allocations: 34.56 kB / 445.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.08022, allocations: 0 / 445.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001495/0.08037, allocations: 85.53 kB / 445.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.08041, allocations: 55.41 kB / 445.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.0805, allocations: 141.7 kB / 445.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.08051, allocations: 29.7 kB / 446 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.08054, allocations: 88.08 kB / 446 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.08056, allocations: 3.984 kB / 446.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.08057, allocations: 7.938 kB / 446.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.08061, allocations: 314.8 kB / 446.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.08063, allocations: 11.98 kB / 446.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.08067, allocations: 54.88 kB / 446.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.256e-05/0.08072, allocations: 78.73 kB / 446.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.08073, allocations: 0 / 446.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.641e-05/0.08083, allocations: 89.41 kB / 446.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.08085, allocations: 8.25 kB / 446.6 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.08086, allocations: 7.938 kB / 446.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.08088, allocations: 4 kB / 446.6 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.642e-05/0.0809, allocations: 7.984 kB / 446.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.08091, allocations: 0 / 446.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.08095, allocations: 4 kB / 446.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.08096, allocations: 4 kB / 446.6 MB, free: 12.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.232e-05/0.08103, allocations: 126.7 kB / 446.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.0811, allocations: 73.58 kB / 446.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.08114, allocations: 16.5 kB / 446.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.08115, allocations: 4 kB / 446.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.08115, allocations: 3.938 kB / 446.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.08116, allocations: 3.984 kB / 446.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.723e-05/0.08123, allocations: 169.6 kB / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.08123, allocations: 0 / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.08125, allocations: 4 kB / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.08126, allocations: 0 / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.08127, allocations: 7.875 kB / 447 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.08127, allocations: 0 / 447 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.08128, allocations: 3.984 kB / 447 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.449e-05/0.08137, allocations: 105.4 kB / 447.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.08141, allocations: 89 kB / 447.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.08143, allocations: 11.94 kB / 447.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.08145, allocations: 0 / 447.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-06/0.08146, allocations: 0 / 447.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.08147, allocations: 0 / 447.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.725e-05/0.08151, allocations: 103.3 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08152, allocations: 0 / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.0817, allocations: 8 kB / 447.3 MB, free: 11.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.638e-05/0.08176, allocations: 103.2 kB / 447.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.899e-05/0.08186, allocations: 43.94 kB / 447.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.08186, allocations: 0 / 447.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.08187, allocations: 0 / 447.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.08214, allocations: 44.5 kB / 447.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.0824, allocations: 217 kB / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.08251, allocations: 0.6887 MB / 448.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.08254, allocations: 11.44 kB / 448.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.08254, allocations: 0 / 448.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Templates: time 0.001652/0.0842, allocations: 0.7855 MB / 449.2 MB, free: 9.441 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