Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 104.3 kB / 16.03 MB, free: 6.301 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.001278/0.001278, allocations: 191.9 kB / 16.95 MB, free: 6.145 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.768/1.768, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.08998/0.08998, allocations: 12.6 MB / 282.7 MB, free: 8.789 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.002163/0.002163, allocations: 84.64 kB / 343 MB, free: 21.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1435, allocations: 49.39 MB / 392.4 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.003192/0.1467, allocations: 1.014 MB / 393.4 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004423/0.1472, allocations: 115.7 kB / 393.5 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1474, allocations: 7.938 kB / 393.5 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.556e-05/0.1475, allocations: 0 / 393.5 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1477, allocations: 11.92 kB / 393.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.148, allocations: 31.92 kB / 393.6 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.1481, allocations: 43.84 kB / 393.6 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1483, allocations: 20.17 kB / 393.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.1483, allocations: 11.94 kB / 393.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.1484, allocations: 23.86 kB / 393.7 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1484, allocations: 4 kB / 393.7 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.682e-05/0.1485, allocations: 8 kB / 393.7 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.1485, allocations: 15.92 kB / 393.7 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.1486, allocations: 27.81 kB / 393.7 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1488, allocations: 43.81 kB / 393.8 MB, free: 2.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1488, allocations: 3.938 kB / 393.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1488, allocations: 3.984 kB / 393.8 MB, free: 2.207 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1488, allocations: 4 kB / 393.8 MB, free: 2.203 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.0005588/0.1494, allocations: 379.3 kB / 394.1 MB, free: 1.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1494, allocations: 8.031 kB / 394.1 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1495, allocations: 12.84 kB / 394.2 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.1497, allocations: 199.3 kB / 394.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1497, allocations: 384 / 394.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1497, allocations: 4.375 kB / 394.4 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.15, allocations: 127.8 kB / 394.5 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1501, allocations: 7.922 kB / 394.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1501, allocations: 8 kB / 394.5 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1501, allocations: 4 kB / 394.5 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.1502, allocations: 15.94 kB / 394.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.1504, allocations: 173.5 kB / 394.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1505, allocations: 62.72 kB / 394.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.1506, allocations: 36.89 kB / 394.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.1506, allocations: 4 kB / 394.8 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1506, allocations: 38.5 kB / 394.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1506, allocations: 0 / 394.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002133/0.1509, allocations: 89.53 kB / 394.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.1509, allocations: 55.41 kB / 395 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1511, allocations: 129.8 kB / 395.1 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1511, allocations: 25.7 kB / 395.1 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.1512, allocations: 96.12 kB / 395.2 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1512, allocations: 4 kB / 395.2 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.1512, allocations: 25.62 kB / 395.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1514, allocations: 322.8 kB / 395.6 MB, free: 200 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.1515, allocations: 11.94 kB / 395.6 MB, free: 188 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.1515, allocations: 59 kB / 395.6 MB, free: 104 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.1516, allocations: 74.75 kB / 395.7 MB, free: 4 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1516, allocations: 4.078 kB / 395.7 MB, free: 0 / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001525/0.1518, allocations: 89.62 kB / 395.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1518, allocations: 7.938 kB / 395.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1518, allocations: 4 kB / 395.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1519, allocations: 0 / 395.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.152, allocations: 20.19 kB / 395.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.152, allocations: 4 kB / 395.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.152, allocations: 11.91 kB / 395.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1521, allocations: 7.984 kB / 395.8 MB, free: 15.85 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: 0 () * 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.0001363/0.1522, allocations: 121.7 kB / 396 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1523, allocations: 77.53 kB / 396 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.1524, allocations: 8.719 kB / 396 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1524, allocations: 4 kB / 396 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1524, allocations: 3.938 kB / 396.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1524, allocations: 0 / 396.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.1526, allocations: 173.6 kB / 396.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1526, allocations: 0 / 396.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.1527, allocations: 12 kB / 396.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1527, allocations: 3.938 kB / 396.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1527, allocations: 4 kB / 396.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1527, allocations: 4 kB / 396.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1527, allocations: 3.984 kB / 396.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.1528, allocations: 101.3 kB / 396.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.1529, allocations: 100.9 kB / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1529, allocations: 0 / 396.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.308e-05/0.153, allocations: 8 kB / 396.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-06/0.153, allocations: 0 / 396.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.153, allocations: 0 / 396.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.288e-05/0.1531, allocations: 104.4 kB / 396.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1531, allocations: 0 / 396.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.1533, allocations: 11.98 kB / 396.6 MB, free: 15.02 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: 0 () * 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.0001356/0.1534, allocations: 95.25 kB / 396.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1536, allocations: 51.95 kB / 396.7 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1536, allocations: 4 kB / 396.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1536, allocations: 3.938 kB / 396.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.1541, allocations: 39.95 kB / 396.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.1545, allocations: 205.9 kB / 397 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1548, allocations: 0.693 MB / 397.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.835e-05/0.1549, allocations: 7.984 kB / 397.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.1549, allocations: 11.44 kB / 397.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1549, allocations: 0 / 397.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Templates: time 0.003128/0.1581, allocations: 0.6104 MB / 398.3 MB, free: 13.25 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches