Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001253/0.001252, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.00119/0.00119, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 51.33 kB / 302 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1375, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00274/0.1403, allocations: 0.9433 MB / 352.4 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003668/0.1407, allocations: 119.6 kB / 352.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.1408, allocations: 3.938 kB / 352.6 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.839e-05/0.1409, allocations: 7.922 kB / 352.6 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.1411, allocations: 11.94 kB / 352.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1413, allocations: 35.89 kB / 352.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1415, allocations: 39.86 kB / 352.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1416, allocations: 24.17 kB / 352.7 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.345e-05/0.1416, allocations: 15.92 kB / 352.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.1417, allocations: 15.88 kB / 352.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1417, allocations: 4 kB / 352.7 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.1418, allocations: 4 kB / 352.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.1418, allocations: 19.92 kB / 352.7 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.1419, allocations: 35.72 kB / 352.8 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.142, allocations: 51.77 kB / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.142, allocations: 0 / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.142, allocations: 0 / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1421, allocations: 4 kB / 352.8 MB, free: 2.367 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.0004998/0.1426, allocations: 383.1 kB / 353.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1426, allocations: 8.031 kB / 353.2 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.1427, allocations: 8.844 kB / 353.2 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.143, allocations: 196.1 kB / 353.4 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.143, allocations: 12.38 kB / 353.4 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.143, allocations: 4.359 kB / 353.4 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.1434, allocations: 131.8 kB / 353.5 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1434, allocations: 7.938 kB / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1434, allocations: 0 / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1434, allocations: 0 / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.1435, allocations: 16 kB / 353.6 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.1437, allocations: 173.6 kB / 353.7 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1438, allocations: 66.66 kB / 353.8 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.1439, allocations: 36.89 kB / 353.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.1439, allocations: 4 kB / 353.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.1439, allocations: 34.56 kB / 353.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 3.547e-06/0.144, allocations: 3.984 kB / 353.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002109/0.1442, allocations: 93.61 kB / 354 MB, free: 1.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.1442, allocations: 63.31 kB / 354 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.1444, allocations: 141.7 kB / 354.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1444, allocations: 25.7 kB / 354.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.1445, allocations: 88.14 kB / 354.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1445, allocations: 4 kB / 354.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1445, allocations: 25.7 kB / 354.3 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1447, allocations: 314.8 kB / 354.6 MB, free: 352 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.1447, allocations: 8 kB / 354.6 MB, free: 344 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.1447, allocations: 62.8 kB / 354.7 MB, free: 256 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.546e-05/0.1448, allocations: 70.81 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1448, allocations: 0 / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001226/0.145, allocations: 93.39 kB / 354.9 MB, free: 60 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.145, allocations: 11.94 kB / 354.9 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.145, allocations: 0 / 354.9 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.145, allocations: 4 kB / 354.9 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.255e-05/0.1451, allocations: 20.17 kB / 354.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1451, allocations: 8 kB / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.1452, allocations: 0 / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1452, allocations: 8.188 kB / 354.9 MB, free: 8 kB / 286.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.0001247/0.1453, allocations: 117.8 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.1454, allocations: 85.66 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.1455, allocations: 12.72 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1455, allocations: 0 / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1455, allocations: 0 / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1455, allocations: 7.984 kB / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1456, allocations: 177.5 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1456, allocations: 0 / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.1457, allocations: 15.98 kB / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1457, allocations: 3.938 kB / 355.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1457, allocations: 4 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1457, allocations: 0 / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1457, allocations: 4 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.1459, allocations: 101 kB / 355.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.146, allocations: 104.9 kB / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.146, allocations: 0 / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.146, allocations: 4 kB / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-06/0.146, allocations: 0 / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.146, allocations: 0 / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.1461, allocations: 109.9 kB / 355.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 0 / 355.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.1463, allocations: 8 kB / 355.6 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 0.0001338/0.1465, allocations: 103.7 kB / 355.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1466, allocations: 47.91 kB / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1466, allocations: 0 / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1466, allocations: 0 / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1469, allocations: 43.95 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.1473, allocations: 157.7 kB / 356 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.1477, allocations: 0.6968 MB / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.152e-05/0.1477, allocations: 3.984 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.894e-05/0.1478, allocations: 11.44 kB / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1478, allocations: 0 / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Templates: time 0.003047/0.1508, allocations: 0.6154 MB / 357.3 MB, free: 13.43 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches