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.001604/0.001604, allocations: 104.2 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.001554/0.001554, 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.656/1.656, 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.0844/0.0844, 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.001809/0.001809, allocations: 94.64 kB / 394.2 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.118, allocations: 49.41 MB / 443.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.003334/0.1214, allocations: 0.9442 MB / 444.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004509/0.1218, allocations: 115.6 kB / 444.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.122, allocations: 0 / 444.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.779e-05/0.1221, allocations: 3.938 kB / 444.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1223, allocations: 15.86 kB / 444.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1226, allocations: 35.84 kB / 444.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1227, allocations: 43.91 kB / 444.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1229, allocations: 24.11 kB / 444.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.123, allocations: 19.91 kB / 444.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/0.123, allocations: 19.86 kB / 444.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.123, allocations: 4 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.1231, allocations: 4 kB / 444.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.1231, allocations: 19.92 kB / 444.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.1232, allocations: 27.81 kB / 444.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1234, allocations: 47.75 kB / 444.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1234, allocations: 4 kB / 444.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1234, allocations: 0 / 444.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.1234, allocations: 4 kB / 444.9 MB, free: 15.13 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.0005118/0.1239, allocations: 375.2 kB / 445.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.124, allocations: 12.02 kB / 445.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.124, allocations: 12.84 kB / 445.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1243, allocations: 188.1 kB / 445.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1244, allocations: 8.375 kB / 445.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1244, allocations: 4.375 kB / 445.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.1247, allocations: 135.7 kB / 445.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1247, allocations: 3.938 kB / 445.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1247, allocations: 0 / 445.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1247, allocations: 3.938 kB / 445.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.1248, allocations: 16 kB / 445.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.125, allocations: 173.6 kB / 445.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1252, allocations: 70.72 kB / 445.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/0.1253, allocations: 32.89 kB / 445.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1253, allocations: 8.094 kB / 445.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.1254, allocations: 30.56 kB / 446 MB, free: 13.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1254, allocations: 0 / 446 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002492/0.1256, allocations: 97.52 kB / 446.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.1257, allocations: 59.31 kB / 446.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1259, allocations: 137.7 kB / 446.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1259, allocations: 29.69 kB / 446.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.126, allocations: 84.14 kB / 446.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.126, allocations: 8 kB / 446.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.126, allocations: 17.72 kB / 446.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1262, allocations: 322.8 kB / 446.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/0.1262, allocations: 11.94 kB / 446.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.1263, allocations: 54.86 kB / 446.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.1264, allocations: 82.69 kB / 446.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1264, allocations: 0 / 446.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001539/0.1265, allocations: 93.48 kB / 446.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.1266, allocations: 11.94 kB / 446.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.1266, allocations: 0 / 446.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1266, allocations: 7.938 kB / 447 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.1267, allocations: 12 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1267, allocations: 7.984 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.1268, allocations: 11.94 kB / 447 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1268, 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.0001018/0.1269, allocations: 122 kB / 447.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.737e-05/0.127, allocations: 73.53 kB / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.127, allocations: 12.72 kB / 447.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.127, allocations: 0 / 447.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1271, allocations: 4 kB / 447.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1271, allocations: 192 / 447.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.1272, allocations: 173.5 kB / 447.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1272, allocations: 3.938 kB / 447.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.1273, allocations: 12 kB / 447.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1273, allocations: 7.922 kB / 447.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1273, allocations: 11.98 kB / 447.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1273, allocations: 0 / 447.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1273, allocations: 3.938 kB / 447.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1274, allocations: 97.41 kB / 447.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.1275, allocations: 100.9 kB / 447.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1276, allocations: 0 / 447.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/0.1276, allocations: 4 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-06/0.1276, allocations: 4 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1276, allocations: 8 kB / 447.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.933e-05/0.1277, allocations: 107.2 kB / 447.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1277, allocations: 0 / 447.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002018/0.1279, allocations: 4 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.0001161/0.128, allocations: 103.2 kB / 447.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.1282, allocations: 43.86 kB / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1282, allocations: 0.5 kB / 447.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.407e-06/0.1282, allocations: 4 kB / 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.0003327/0.1285, 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.0003935/0.1289, allocations: 161.7 kB / 448.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1294, allocations: 0.7001 MB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.458e-05/0.1294, allocations: 11.94 kB / 448.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.1295, allocations: 7.438 kB / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1295, allocations: 0 / 448.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of Templates: time 0.00324/0.1327, allocations: 0.6172 MB / 449.4 MB, free: 10.18 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