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.001545/0.001545, allocations: 103.5 kB / 16.45 MB, free: 6.445 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.001356/0.001356, allocations: 192.1 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.591/1.591, 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.07335/0.07335, allocations: 12.59 MB / 283.2 MB, free: 15.4 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.002104/0.002104, allocations: 93.38 kB / 394.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1466, allocations: 49.4 MB / 443.6 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.002851/0.1495, allocations: 0.9479 MB / 444.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003795/0.15, allocations: 115.7 kB / 444.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1501, allocations: 0 / 444.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.111e-05/0.1501, allocations: 3.938 kB / 444.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.1503, allocations: 11.88 kB / 444.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1506, allocations: 47.83 kB / 444.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.1507, allocations: 35.91 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1508, allocations: 28.11 kB / 444.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.1509, allocations: 15.92 kB / 444.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.151, allocations: 23.86 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.151, allocations: 4 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.151, allocations: 4 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.1511, allocations: 15.92 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.1512, allocations: 31.8 kB / 444.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1513, allocations: 43.77 kB / 444.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1513, allocations: 0 / 444.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1513, allocations: 4 kB / 444.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1514, allocations: 4 kB / 444.9 MB, free: 15.15 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.0005761/0.1519, allocations: 379.1 kB / 445.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.152, allocations: 12.02 kB / 445.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.152, allocations: 12.84 kB / 445.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.1523, allocations: 196.1 kB / 445.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1524, allocations: 4.375 kB / 445.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1524, allocations: 4.375 kB / 445.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.1527, allocations: 135.7 kB / 445.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1527, allocations: 3.938 kB / 445.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1527, allocations: 4 kB / 445.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1527, allocations: 0 / 445.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/0.1528, allocations: 12 kB / 445.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.153, allocations: 177.6 kB / 445.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1532, allocations: 74.64 kB / 445.9 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.1532, allocations: 32.89 kB / 445.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1532, allocations: 4 kB / 445.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1533, allocations: 34.56 kB / 446 MB, free: 13.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1533, allocations: 0 / 446 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002401/0.1535, allocations: 89.69 kB / 446.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.1536, allocations: 63.3 kB / 446.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1538, allocations: 137.7 kB / 446.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1538, allocations: 29.69 kB / 446.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.1538, allocations: 84.14 kB / 446.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1539, allocations: 11.94 kB / 446.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.1539, allocations: 17.72 kB / 446.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1541, allocations: 322.8 kB / 446.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/0.1541, allocations: 8 kB / 446.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.1541, allocations: 58.86 kB / 446.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.1542, allocations: 82.69 kB / 446.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1542, allocations: 0 / 446.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001287/0.1544, allocations: 93.42 kB / 446.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1544, allocations: 11.94 kB / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1544, allocations: 0 / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1544, allocations: 4 kB / 447 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.1545, allocations: 12 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1545, allocations: 7.984 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.1546, allocations: 7.938 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1546, allocations: 4 kB / 447 MB, free: 12.79 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: 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.0001049/0.1547, allocations: 126 kB / 447.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.1548, allocations: 73.53 kB / 447.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.1549, allocations: 12.72 kB / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1549, allocations: 0 / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1549, allocations: 0 / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1549, allocations: 0 / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.155, allocations: 177.5 kB / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.155, allocations: 0 / 447.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.1551, allocations: 16 kB / 447.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.1551, allocations: 3.938 kB / 447.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1551, allocations: 12.11 kB / 447.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1551, allocations: 4 kB / 447.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1551, allocations: 3.938 kB / 447.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1553, allocations: 97.03 kB / 447.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.1553, allocations: 96.94 kB / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.1554, allocations: 4 kB / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.1554, allocations: 0 / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-06/0.1554, allocations: 0 / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1554, allocations: 4 kB / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.86e-05/0.1555, allocations: 107.2 kB / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1555, allocations: 4 kB / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001933/0.1557, allocations: 4 kB / 447.7 MB, free: 11.95 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: 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.0001191/0.1558, allocations: 99.19 kB / 447.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.156, allocations: 52.31 kB / 447.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.156, allocations: 0.5 kB / 447.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.156, allocations: 4 kB / 447.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1563, allocations: 39.89 kB / 447.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.1567, allocations: 169.9 kB / 448.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.157, allocations: 0.7002 MB / 448.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.178e-05/0.157, allocations: 7.938 kB / 448.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.1571, allocations: 11.44 kB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1571, allocations: 0 / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Templates: time 0.003557/0.1606, allocations: 0.6172 MB / 449.4 MB, free: 10.2 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches