Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009224/0.0009224, allocations: 172.5 kB / 17.39 MB, free: 4.184 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 241.4 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000736/0.0007359, allocations: 94.53 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003108, allocations: 12 kB / 352.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2396, allocations: 50.4 MB / 402.7 MB, free: 32.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3406, allocations: 80.89 MB / 483.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.3409, allocations: 68.47 kB / 483.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02055/0.3615, allocations: 7.488 MB / 491.2 MB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3615, allocations: 4 kB / 491.2 MB, free: 7.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.953e-05/0.3616, allocations: 16.16 kB / 491.2 MB, free: 7.816 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009993/0.3626, allocations: 0.6079 MB / 491.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3626, allocations: 8.031 kB / 491.8 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3627, allocations: 44.38 kB / 491.9 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.3634, allocations: 359.8 kB / 492.2 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3634, allocations: 20.94 kB / 492.2 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.3635, allocations: 24.38 kB / 492.3 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.3648, allocations: 0.7419 MB / 493 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.3648, allocations: 3.938 kB / 493 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.3649, allocations: 15.94 kB / 493 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.3649, allocations: 8 kB / 493 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.3655, allocations: 227.7 kB / 493.2 MB, free: 5.648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.3663, allocations: 0.7679 MB / 494 MB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3674, allocations: 0.6126 MB / 494.6 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004377/0.3678, allocations: 263.8 kB / 494.9 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005501/0.3684, allocations: 0.5934 MB / 495.5 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.3684, allocations: 42.44 kB / 495.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.334e-06/0.3684, allocations: 4 kB / 495.5 MB, free: 3.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001157/0.3696, allocations: 0.5282 MB / 496.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.3697, allocations: 190.1 kB / 496.2 MB, free: 2.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.37, allocations: 238.6 kB / 496.5 MB, free: 2.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.37, allocations: 29.7 kB / 496.5 MB, free: 2.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3701, allocations: 152.8 kB / 496.6 MB, free: 1.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.3702, allocations: 51.61 kB / 496.7 MB, free: 1.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.3702, allocations: 8 kB / 496.7 MB, free: 1.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3704, allocations: 346.8 kB / 497 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.3706, allocations: 89.06 kB / 497.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.371, allocations: 433.5 kB / 497.6 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.3716, allocations: 0.5323 MB / 498.1 MB, free: 108 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.3716, allocations: 4 kB / 498.1 MB, free: 104 kB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000801/0.3724, allocations: 0.4935 MB / 498.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3725, allocations: 11.94 kB / 498.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.3725, allocations: 15.94 kB / 498.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.3725, allocations: 16 kB / 498.6 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.3728, allocations: 127.8 kB / 498.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.3729, allocations: 19.92 kB / 498.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.3731, allocations: 51.89 kB / 498.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.3732, allocations: 36 kB / 498.9 MB, free: 15.33 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001956/0.3734, allocations: 192.4 kB / 499 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005887/0.374, allocations: 329 kB / 499.4 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006888/0.3747, allocations: 365.5 kB / 499.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3747, allocations: 4 kB / 499.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3747, allocations: 4 kB / 499.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3747, allocations: 3.984 kB / 499.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.3751, allocations: 333.1 kB / 0.4883 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.3751, allocations: 0 / 0.4883 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.3755, allocations: 103.9 kB / 0.4884 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.3755, allocations: 8.406 kB / 0.4884 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.3756, allocations: 8 kB / 0.4885 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3756, allocations: 3.984 kB / 0.4885 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.3756, allocations: 11.92 kB / 0.4885 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.3768, allocations: 0.7748 MB / 0.4892 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.3769, allocations: 124.6 kB / 0.4893 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.377, allocations: 16.06 kB / 0.4894 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.3772, allocations: 27.98 kB / 0.4894 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.3773, allocations: 7.984 kB / 0.4894 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.3773, allocations: 12 kB / 0.4894 GB, free: 12.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.3775, allocations: 178 kB / 0.4896 GB, free: 12.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.953e-06/0.3775, allocations: 4 kB / 0.4896 GB, free: 12.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.378, allocations: 75.84 kB / 0.4897 GB, free: 12.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0002019/0.3782, allocations: 140.1 kB / 0.4898 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006789/0.3789, allocations: 357.6 kB / 0.4901 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3789, allocations: 4.062 kB / 0.4901 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.379, allocations: 31.97 kB / 0.4902 GB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.38, allocations: 301.7 kB / 0.4905 GB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3816, allocations: 0.8913 MB / 0.4913 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.382, allocations: 0.8122 MB / 0.4921 GB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.3822, allocations: 43.27 kB / 0.4922 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.3822, allocations: 31.44 kB / 0.4922 GB, free: 10.01 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3822, allocations: 0 / 0.4922 GB, free: 10.01 MB / 378.7 MB Notification: Performance of Templates: time 0.00857/0.3908, allocations: 3.812 MB / 0.4959 GB, free: 6.234 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches