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.0008459/0.0008459, allocations: 96.39 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009049/0.000905, allocations: 170.2 kB / 16.62 MB, free: 6.434 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.774/1.774, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.09431/0.09431, allocations: 12.6 MB / 283.7 MB, free: 8.688 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.0007607/0.0007608, allocations: 24 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1242, allocations: 50.38 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.001295/0.1256, allocations: 0.6518 MB / 395.6 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000361/0.1259, allocations: 123.7 kB / 395.7 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.126, allocations: 3.938 kB / 395.7 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.1261, allocations: 3.938 kB / 395.7 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.1262, allocations: 11.92 kB / 395.7 MB, free: 2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1265, allocations: 27.97 kB / 395.7 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.943e-05/0.1265, allocations: 35.86 kB / 395.8 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1267, allocations: 24.16 kB / 395.8 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.1267, allocations: 7.938 kB / 395.8 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.1268, allocations: 23.86 kB / 395.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1268, allocations: 0 / 395.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.1268, allocations: 0 / 395.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.1269, allocations: 7.984 kB / 395.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.1269, allocations: 41.62 kB / 395.9 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.852e-05/0.127, allocations: 27.95 kB / 395.9 MB, free: 1.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.127, allocations: 7.938 kB / 395.9 MB, free: 1.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.127, allocations: 0 / 395.9 MB, free: 1.789 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.127, allocations: 0 / 395.9 MB, free: 1.789 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.0004874/0.1275, allocations: 367.3 kB / 396.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1276, allocations: 8.031 kB / 396.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.1276, allocations: 7.906 kB / 396.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1278, allocations: 202.8 kB / 396.5 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1278, allocations: 7.938 kB / 396.5 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.1279, allocations: 7.953 kB / 396.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.1281, allocations: 127.2 kB / 396.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1282, allocations: 0 / 396.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1282, allocations: 0 / 396.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1282, allocations: 0 / 396.6 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/0.1282, allocations: 23.92 kB / 396.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.1284, allocations: 169.7 kB / 396.8 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1286, allocations: 70.7 kB / 396.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.1286, allocations: 32.86 kB / 396.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1287, allocations: 4 kB / 396.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1287, allocations: 38.48 kB / 396.9 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1287, allocations: 0 / 396.9 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002134/0.1289, allocations: 85.81 kB / 397 MB, free: 496 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.129, allocations: 59.41 kB / 397.1 MB, free: 424 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1291, allocations: 141 kB / 397.2 MB, free: 276 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1292, allocations: 29.7 kB / 397.3 MB, free: 240 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.1292, allocations: 84.14 kB / 397.3 MB, free: 152 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.1292, allocations: 3.984 kB / 397.3 MB, free: 148 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.1293, allocations: 8 kB / 397.3 MB, free: 140 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1294, allocations: 310.8 kB / 397.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.1294, allocations: 19.86 kB / 397.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.1295, allocations: 55.03 kB / 397.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.1296, allocations: 16 kB / 397.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1296, allocations: 0 / 397.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001265/0.1297, allocations: 101.3 kB / 397.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1297, allocations: 4 kB / 397.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1297, allocations: 4 kB / 397.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1298, allocations: 4 kB / 397.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.1298, allocations: 16.12 kB / 397.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1299, allocations: 3.984 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.1299, allocations: 8.188 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1299, allocations: 12 kB / 397.9 MB, free: 15.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.13, allocations: 125.6 kB / 398 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/0.1301, allocations: 81.47 kB / 398.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.1302, allocations: 12.72 kB / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1302, allocations: 0 / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1302, allocations: 0 / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1302, allocations: 0 / 398.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.1303, allocations: 169.6 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1303, allocations: 4 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.1304, allocations: 12 kB / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1304, allocations: 3.984 kB / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.1304, allocations: 7.953 kB / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1305, allocations: 0 / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1305, allocations: 0 / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.1306, allocations: 101 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.1307, allocations: 93 kB / 398.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1307, allocations: 0 / 398.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.1307, allocations: 15.95 kB / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-06/0.1307, allocations: 0 / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1307, allocations: 4 kB / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.634e-05/0.1308, allocations: 103.2 kB / 398.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1308, allocations: 0 / 398.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.131, allocations: 12 kB / 398.6 MB, free: 14.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.519e-05/0.1311, allocations: 91.25 kB / 398.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1313, allocations: 44.11 kB / 398.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1313, allocations: 3.938 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.1313, allocations: 0 / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1316, allocations: 55.86 kB / 398.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.1319, allocations: 183.6 kB / 399 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1323, allocations: 0.6972 MB / 399.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.861e-05/0.1323, allocations: 7.984 kB / 399.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.1323, allocations: 11.44 kB / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1323, allocations: 0 / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Templates: time 0.00274/0.1351, allocations: 0.5394 MB / 400.2 MB, free: 13.03 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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