Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 107.6 kB / 16.45 MB, free: 6.449 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.001586/0.001586, allocations: 186.4 kB / 17.39 MB, free: 5.668 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.723/1.723, 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.08436/0.08436, allocations: 12.59 MB / 283.2 MB, free: 15.38 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.002445/0.002445, allocations: 99.17 kB / 394.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1405, allocations: 49.4 MB / 443.6 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock): time 0.002902/0.1435, allocations: 0.8442 MB / 444.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005489/0.1441, allocations: 119.7 kB / 444.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.1442, allocations: 0 / 444.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1444, allocations: 11.86 kB / 444.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.1446, allocations: 7.938 kB / 444.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.145, allocations: 43.89 kB / 444.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.1452, allocations: 39.86 kB / 444.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1454, allocations: 27.91 kB / 444.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.1455, allocations: 23.91 kB / 444.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1457, allocations: 19.86 kB / 444.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.1457, allocations: 4 kB / 444.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.989e-05/0.1457, allocations: 4 kB / 444.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.1458, allocations: 19.98 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.1459, allocations: 27.75 kB / 444.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1462, allocations: 63.67 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1462, allocations: 0 / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1462, allocations: 4 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1462, allocations: 0 / 444.8 MB, free: 15.23 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.0008379/0.1471, allocations: 375.2 kB / 445.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.1471, allocations: 8.031 kB / 445.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.1472, allocations: 12.75 kB / 445.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.1476, allocations: 192.2 kB / 445.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1476, allocations: 4.375 kB / 445.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.1477, allocations: 4.375 kB / 445.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.1481, allocations: 143.7 kB / 445.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1482, allocations: 4.172 kB / 445.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.1482, allocations: 11.92 kB / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1482, allocations: 0 / 445.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.1483, allocations: 20 kB / 445.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.1487, allocations: 177.5 kB / 445.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.1489, allocations: 82.67 kB / 445.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1491, allocations: 44.84 kB / 445.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1491, allocations: 0 / 445.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.1492, allocations: 34.56 kB / 445.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1492, allocations: 0 / 445.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003301/0.1495, allocations: 113.5 kB / 446 MB, free: 13.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1496, allocations: 51.41 kB / 446.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1498, allocations: 149.7 kB / 446.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1499, allocations: 25.7 kB / 446.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.15, allocations: 84.14 kB / 446.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.15, allocations: 11.89 kB / 446.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.1501, allocations: 29.66 kB / 446.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1504, allocations: 318.8 kB / 446.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.66e-05/0.1504, allocations: 8 kB / 446.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1505, allocations: 62.86 kB / 446.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.1507, allocations: 78.75 kB / 446.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1507, allocations: 0 / 446.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000229/0.151, allocations: 97.45 kB / 446.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.151, allocations: 11.94 kB / 446.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.151, allocations: 0 / 446.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.151, allocations: 4 kB / 446.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1512, allocations: 15.98 kB / 446.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.1512, allocations: 7.938 kB / 447 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.1512, allocations: 0 / 447 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1513, allocations: 8 kB / 447 MB, free: 12.8 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 (sum.y,sum.u[2],sum.u[1],const.y,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.0001532/0.1514, allocations: 126 kB / 447.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.1516, allocations: 85.66 kB / 447.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.1517, allocations: 16.66 kB / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1517, allocations: 0 / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1517, allocations: 0 / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1517, allocations: 0 / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.1519, allocations: 181.6 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.1519, allocations: 0 / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.152, allocations: 12 kB / 447.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.1521, allocations: 7.922 kB / 447.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1521, allocations: 4.188 kB / 447.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1521, allocations: 0 / 447.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1521, allocations: 3.938 kB / 447.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1524, allocations: 105.4 kB / 447.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.1525, allocations: 93 kB / 447.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.1525, allocations: 7.922 kB / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.1526, allocations: 7.938 kB / 447.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-06/0.1526, allocations: 0 / 447.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.1526, allocations: 7.938 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1527, allocations: 107.2 kB / 447.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1527, allocations: 0 / 447.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.1531, allocations: 12 kB / 447.7 MB, free: 11.94 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,const.y,sum.u[1],sum.u[2],sum.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.0001619/0.1533, allocations: 99.23 kB / 447.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1535, allocations: 56.36 kB / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1535, allocations: 4.125 kB / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1535, allocations: 0 / 447.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1539, allocations: 47.95 kB / 447.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.1544, allocations: 169.5 kB / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.1549, allocations: 0.6963 MB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.856e-05/0.1549, allocations: 4.672 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.1549, allocations: 11.44 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.155, allocations: 4 kB / 448.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of Templates: time 0.004281/0.1592, allocations: 0.6952 MB / 449.5 MB, free: 10.1 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches