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.00141/0.00141, allocations: 104.7 kB / 16.45 MB, free: 6.434 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.001357/0.001357, allocations: 189.5 kB / 17.39 MB, free: 5.688 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.792/1.792, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09198/0.09198, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.002055/0.002055, allocations: 87.14 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1259, allocations: 49.41 MB / 443.6 MB, free: 500 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock): time 0.003173/0.1292, allocations: 0.8528 MB / 444.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004146/0.1297, allocations: 119.6 kB / 444.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1298, allocations: 8 kB / 444.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.561e-05/0.1298, allocations: 3.938 kB / 444.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.13, allocations: 7.922 kB / 444.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1303, allocations: 31.92 kB / 444.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1304, allocations: 43.84 kB / 444.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1306, allocations: 23.95 kB / 444.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.1306, allocations: 11.94 kB / 444.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.1307, allocations: 23.92 kB / 444.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1307, allocations: 4 kB / 444.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.1307, allocations: 4 kB / 444.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.1308, allocations: 15.92 kB / 444.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.1308, allocations: 23.81 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.131, allocations: 55.73 kB / 444.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.131, allocations: 0 / 444.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.131, allocations: 0 / 444.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.131, allocations: 4 kB / 444.8 MB, free: 15.26 MB / 334.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.0004813/0.1315, allocations: 371.2 kB / 445.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1316, allocations: 15.97 kB / 445.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.1316, allocations: 12.84 kB / 445.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.132, allocations: 188.1 kB / 445.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.132, allocations: 16.3 kB / 445.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.132, allocations: 4.375 kB / 445.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.1323, allocations: 135.7 kB / 445.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1324, allocations: 192 / 445.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1324, allocations: 3.938 kB / 445.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1324, allocations: 0 / 445.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.732e-05/0.1324, allocations: 23.98 kB / 445.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1326, allocations: 169.6 kB / 445.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1328, allocations: 70.66 kB / 445.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.1329, allocations: 32.89 kB / 445.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1329, allocations: 4 kB / 445.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1329, allocations: 34.56 kB / 445.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.1329, allocations: 0 / 445.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002506/0.1332, allocations: 81.53 kB / 445.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.1333, allocations: 63.39 kB / 446 MB, free: 13.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1334, allocations: 129.8 kB / 446.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1334, allocations: 29.7 kB / 446.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.1335, allocations: 88.14 kB / 446.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1335, allocations: 3.938 kB / 446.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1336, allocations: 33.61 kB / 446.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1338, allocations: 310.8 kB / 446.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.1339, allocations: 15.98 kB / 446.6 MB, free: 13.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.1339, allocations: 54.88 kB / 446.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1341, allocations: 82.73 kB / 446.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.1341, allocations: 0 / 446.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001692/0.1343, allocations: 85.5 kB / 446.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1343, allocations: 4 kB / 446.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1343, allocations: 8.188 kB / 446.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1343, allocations: 4 kB / 446.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.489e-05/0.1344, allocations: 11.98 kB / 446.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.1344, allocations: 4 kB / 446.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.1344, allocations: 3.906 kB / 446.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1344, allocations: 15.94 kB / 446.9 MB, free: 12.91 MB / 334.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 0.0001364/0.1346, allocations: 121.7 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1347, allocations: 73.67 kB / 447.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.1347, allocations: 12.31 kB / 447.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1348, allocations: 4.188 kB / 447.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1348, allocations: 4 kB / 447.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1348, allocations: 7.922 kB / 447.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.1349, allocations: 169.6 kB / 447.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.135, allocations: 0 / 447.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.135, allocations: 0 / 447.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.135, allocations: 0 / 447.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.135, allocations: 11.88 kB / 447.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.135, allocations: 0 / 447.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.135, allocations: 0 / 447.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.1352, allocations: 105 kB / 447.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.1353, allocations: 89 kB / 447.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.1353, allocations: 7.938 kB / 447.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.628e-05/0.1353, allocations: 0 / 447.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-06/0.1353, allocations: 0 / 447.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1353, allocations: 4 kB / 447.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.552e-05/0.1354, allocations: 99.27 kB / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1355, allocations: 0 / 447.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1357, allocations: 8 kB / 447.6 MB, free: 12.11 MB / 334.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.0001516/0.1359, allocations: 107.2 kB / 447.7 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.136, allocations: 44.33 kB / 447.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.136, allocations: 0 / 447.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.136, allocations: 0 / 447.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.1365, allocations: 40.19 kB / 447.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.1369, allocations: 166.1 kB / 447.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.1375, allocations: 0.7001 MB / 448.6 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.009e-05/0.1375, allocations: 7.953 kB / 448.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.1376, allocations: 11.44 kB / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1376, allocations: 0 / 448.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Templates: time 0.003803/0.1414, allocations: 0.6368 MB / 449.3 MB, free: 10.34 MB / 334.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches