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.001383/0.001384, allocations: 102 kB / 16.45 MB, free: 6.441 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.001404/0.001404, allocations: 189.5 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.736/1.736, 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.08705/0.08705, 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.001986/0.001986, allocations: 89.78 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1152, allocations: 49.4 MB / 443.6 MB, free: 472 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.00378/0.119, allocations: 0.948 MB / 444.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.1195, allocations: 115.7 kB / 444.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1196, allocations: 4 kB / 444.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.1197, allocations: 11.86 kB / 444.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.1198, allocations: 3.938 kB / 444.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.12, allocations: 43.83 kB / 444.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.1201, allocations: 35.92 kB / 444.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1202, allocations: 32.09 kB / 444.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.1203, allocations: 15.92 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.1203, allocations: 15.88 kB / 444.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1203, allocations: 4 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.1204, allocations: 4 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.1204, allocations: 15.92 kB / 444.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.1205, allocations: 35.78 kB / 444.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.1206, allocations: 51.77 kB / 444.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1206, allocations: 0 / 444.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1206, allocations: 0 / 444.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1206, allocations: 4 kB / 444.9 MB, free: 15.12 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.000619/0.1212, allocations: 375.1 kB / 445.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.1213, allocations: 8.031 kB / 445.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.1213, allocations: 12.84 kB / 445.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1216, allocations: 196.1 kB / 445.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1216, allocations: 12.38 kB / 445.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1216, allocations: 4.375 kB / 445.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.1219, allocations: 135.7 kB / 445.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1219, allocations: 3.938 kB / 445.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1219, allocations: 0 / 445.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.122, allocations: 0 / 445.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.122, allocations: 19.98 kB / 445.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.1222, allocations: 169.7 kB / 445.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1223, allocations: 74.62 kB / 445.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.1224, allocations: 36.86 kB / 445.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.1224, allocations: 0 / 445.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.1224, allocations: 34.55 kB / 446 MB, free: 13.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1224, allocations: 0 / 446 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001877/0.1226, allocations: 93.69 kB / 446.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.1227, allocations: 63.3 kB / 446.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1228, allocations: 137.7 kB / 446.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1229, allocations: 25.7 kB / 446.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.1229, allocations: 92.08 kB / 446.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.1229, allocations: 3.984 kB / 446.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.123, allocations: 25.72 kB / 446.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1231, allocations: 314.8 kB / 446.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.1232, allocations: 12 kB / 446.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.1232, allocations: 58.86 kB / 446.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1233, allocations: 78.69 kB / 446.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1234, allocations: 0 / 446.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001409/0.1235, allocations: 93.47 kB / 446.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1235, allocations: 11.94 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1235, allocations: 3.984 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1236, allocations: 4 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.1236, allocations: 12 kB / 447 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1236, allocations: 4 kB / 447 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.1237, allocations: 7.938 kB / 447 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.1237, allocations: 4 kB / 447 MB, free: 12.77 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.0001175/0.1238, allocations: 130 kB / 447.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1239, allocations: 73.55 kB / 447.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.124, allocations: 12.7 kB / 447.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.124, allocations: 0 / 447.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.124, allocations: 4 kB / 447.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.124, allocations: 0 / 447.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1242, allocations: 173.5 kB / 447.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1242, allocations: 0 / 447.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.1242, allocations: 12 kB / 447.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1242, allocations: 7.875 kB / 447.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1243, allocations: 0 / 447.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1243, allocations: 8.188 kB / 447.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1243, allocations: 0 / 447.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.1244, allocations: 105.4 kB / 447.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.1245, allocations: 96.94 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1246, allocations: 3.984 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/0.1246, allocations: 0 / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.1246, allocations: 0 / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1246, allocations: 8 kB / 447.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.8e-05/0.1247, allocations: 103.3 kB / 447.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1247, allocations: 0 / 447.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1249, allocations: 8 kB / 447.7 MB, free: 11.93 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.0001312/0.1251, allocations: 103.1 kB / 447.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1252, allocations: 47.97 kB / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1253, allocations: 0.5 kB / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.1253, allocations: 0 / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.1255, 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.0003758/0.1259, allocations: 165.7 kB / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.1267, allocations: 0.6963 MB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.685e-05/0.1267, allocations: 7.953 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1267, allocations: 7.438 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1267, allocations: 4 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of Templates: time 0.002861/0.1296, allocations: 0.6406 MB / 449.4 MB, free: 10.16 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