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.007314/0.007314, allocations: 92.47 kB / 15.91 MB, free: 6.273 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.001421/0.001421, allocations: 198.1 kB / 16.83 MB, free: 6.188 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.561/1.561, allocations: 205.1 MB / 222.7 MB, free: 4.734 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.08067/0.08067, allocations: 12.59 MB / 282.6 MB, free: 8.855 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.003326/0.003326, allocations: 84.83 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1221, allocations: 49.4 MB / 392.2 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.002367/0.1246, allocations: 1.014 MB / 393.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002996/0.1249, allocations: 111.6 kB / 393.3 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.425e-05/0.125, allocations: 7.938 kB / 393.3 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.125, allocations: 3.938 kB / 393.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1252, allocations: 7.922 kB / 393.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1254, allocations: 31.97 kB / 393.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.543e-05/0.1255, allocations: 35.92 kB / 393.4 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1256, allocations: 24.16 kB / 393.4 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.1257, allocations: 15.92 kB / 393.4 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.1257, allocations: 19.86 kB / 393.5 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1257, allocations: 4 kB / 393.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.1257, allocations: 4 kB / 393.5 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.1258, allocations: 19.86 kB / 393.5 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.1258, allocations: 27.81 kB / 393.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.924e-05/0.1259, allocations: 47.75 kB / 393.6 MB, free: 2.336 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.126, allocations: 4 kB / 393.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.126, allocations: 0 / 393.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.126, allocations: 0 / 393.6 MB, free: 2.332 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.0004334/0.1264, allocations: 383.4 kB / 393.9 MB, free: 1.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1264, allocations: 12.03 kB / 394 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1265, allocations: 8.844 kB / 394 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1267, allocations: 180.2 kB / 394.1 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1267, allocations: 8.375 kB / 394.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1267, allocations: 4.375 kB / 394.1 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.127, allocations: 135.7 kB / 394.3 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.127, allocations: 3.938 kB / 394.3 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.127, allocations: 0 / 394.3 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.127, allocations: 0 / 394.3 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.1271, allocations: 16 kB / 394.3 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.1272, allocations: 181.5 kB / 394.5 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1274, allocations: 70.69 kB / 394.5 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.1275, allocations: 32.84 kB / 394.6 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1275, allocations: 4 kB / 394.6 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1275, allocations: 30.56 kB / 394.6 MB, free: 1.117 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1275, allocations: 0 / 394.6 MB, free: 1.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001883/0.1277, allocations: 93.47 kB / 394.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.1278, allocations: 59.41 kB / 394.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1279, allocations: 137 kB / 394.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1279, allocations: 25.7 kB / 394.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.128, allocations: 88.12 kB / 395 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.128, allocations: 4 kB / 395 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.128, allocations: 25.62 kB / 395 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1282, allocations: 322.8 kB / 395.3 MB, free: 336 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.1282, allocations: 8 kB / 395.4 MB, free: 328 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-05/0.1282, allocations: 58.8 kB / 395.4 MB, free: 244 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.96e-05/0.1283, allocations: 74.75 kB / 395.5 MB, free: 144 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1284, allocations: 0 / 395.5 MB, free: 144 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001147/0.1285, allocations: 93.52 kB / 395.6 MB, free: 44 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1285, allocations: 11.94 kB / 395.6 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1285, allocations: 0 / 395.6 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1285, allocations: 4 kB / 395.6 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.1286, allocations: 12 kB / 395.6 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1286, allocations: 11.88 kB / 395.6 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.1287, allocations: 3.906 kB / 395.6 MB, free: 0 / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.1287, allocations: 8.047 kB / 395.6 MB, free: 15.99 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.0001072/0.1288, allocations: 129.9 kB / 395.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/0.1289, allocations: 77.67 kB / 395.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.1289, allocations: 12.72 kB / 395.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1289, allocations: 0 / 395.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1289, allocations: 4 kB / 395.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.129, allocations: 0 / 395.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.1291, allocations: 177.6 kB / 396 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1291, allocations: 0 / 396 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.1292, allocations: 12 kB / 396 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1292, allocations: 3.938 kB / 396 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1292, allocations: 8 kB / 396 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1292, allocations: 0 / 396 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1292, allocations: 0 / 396 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.1293, allocations: 97.02 kB / 396.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.1294, allocations: 100.9 kB / 396.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1294, allocations: 0 / 396.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.1294, allocations: 4 kB / 396.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-06/0.1295, allocations: 0 / 396.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1295, allocations: 4 kB / 396.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.54e-05/0.1295, allocations: 107.2 kB / 396.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1296, allocations: 0 / 396.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001879/0.1297, allocations: 8 kB / 396.4 MB, free: 15.16 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 9.496e-05/0.1298, allocations: 99.22 kB / 396.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.13, allocations: 43.92 kB / 396.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.13, allocations: 0.5 kB / 396.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.13, allocations: 4.188 kB / 396.5 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1304, allocations: 47.84 kB / 396.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.1307, allocations: 192 kB / 396.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1311, allocations: 0.6971 MB / 397.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.1311, allocations: 8 kB / 397.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.1312, allocations: 11.44 kB / 397.5 MB, free: 14 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1312, allocations: 0 / 397.5 MB, free: 14 MB / 302.1 MB Notification: Performance of Templates: time 0.002605/0.1338, allocations: 0.5831 MB / 398 MB, free: 13.42 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