Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 107.5 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 62.56 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1487, allocations: 50.53 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.006874/0.1556, allocations: 2.72 MB / 359.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.1586, allocations: 0.9272 MB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/0.1591, allocations: 7.938 kB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.1596, allocations: 47.59 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005061/0.1601, allocations: 47.64 kB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1616, allocations: 223.4 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.1623, allocations: 374.9 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.1628, allocations: 188.8 kB / 361.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.1631, allocations: 147.3 kB / 361.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.1634, allocations: 143.2 kB / 361.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.751e-05/0.1635, allocations: 32 kB / 361.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1637, allocations: 75.91 kB / 361.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.1638, allocations: 83.67 kB / 362 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.1641, allocations: 163.1 kB / 362.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007528/0.1649, allocations: 402.9 kB / 362.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1649, allocations: 0 / 362.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1649, allocations: 0 / 362.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.1649, allocations: 0 / 362.5 MB, free: 8.859 MB / 302.1 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.001821/0.1668, allocations: 0.639 MB / 363.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/0.1669, allocations: 12.03 kB / 363.2 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.167, allocations: 44.45 kB / 363.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006696/0.1677, allocations: 319.9 kB / 363.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.1678, allocations: 20.94 kB / 363.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.1679, allocations: 24.38 kB / 363.6 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.1702, allocations: 0.748 MB / 364.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.1703, allocations: 0 / 364.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.1704, allocations: 15.98 kB / 364.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.1704, allocations: 8 kB / 364.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009699/0.1714, allocations: 223.8 kB / 364.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1729, allocations: 0.772 MB / 365.3 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.1748, allocations: 0.623 MB / 365.9 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/0.1756, allocations: 263.4 kB / 366.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.1767, allocations: 0.5895 MB / 366.8 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.184e-05/0.1768, allocations: 46.28 kB / 366.8 MB, free: 4.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 5.4e-06/0.1768, allocations: 0 / 366.8 MB, free: 4.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.002265/0.1791, allocations: 0.5282 MB / 367.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002121/0.1793, allocations: 207.9 kB / 367.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.1798, allocations: 254.6 kB / 367.8 MB, free: 3.066 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.1799, allocations: 29.7 kB / 367.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.1801, allocations: 160.7 kB / 368 MB, free: 2.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1802, allocations: 47.72 kB / 368 MB, free: 2.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.1805, allocations: 86.25 kB / 368.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1807, allocations: 346.8 kB / 368.5 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.181, allocations: 81.06 kB / 368.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006642/0.1817, allocations: 431 kB / 369 MB, free: 1.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.1828, allocations: 0.5362 MB / 369.5 MB, free: 1.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.1828, allocations: 4 kB / 369.5 MB, free: 1.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001413/0.1843, allocations: 0.4892 MB / 370 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.1844, allocations: 12 kB / 370 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.1844, allocations: 12 kB / 370 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/0.1845, allocations: 19.98 kB / 370 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.1851, allocations: 124.4 kB / 370.2 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.498e-05/0.1852, allocations: 23.88 kB / 370.2 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.1857, allocations: 51.67 kB / 370.2 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.1857, allocations: 32 kB / 370.3 MB, free: 256 kB / 302.1 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 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003588/0.1861, allocations: 185.6 kB / 370.5 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2176/0.4037, allocations: 347.6 kB / 370.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008733/0.4046, allocations: 358.2 kB / 371.1 MB, free: 20.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.4046, allocations: 6.625 kB / 371.1 MB, free: 20.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.4047, allocations: 2.688 kB / 371.2 MB, free: 20.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.4047, allocations: 4.438 kB / 371.2 MB, free: 20.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.4052, allocations: 337.1 kB / 371.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.4053, allocations: 1.578 kB / 371.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.4057, allocations: 98.31 kB / 371.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.4057, allocations: 6.125 kB / 371.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.4058, allocations: 10.95 kB / 371.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.4058, allocations: 4.031 kB / 371.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4058, allocations: 0.7812 kB / 371.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4073, allocations: 0.7784 MB / 372.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4074, allocations: 121.3 kB / 372.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.4075, allocations: 18.55 kB / 372.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.4077, allocations: 30.31 kB / 372.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4078, allocations: 4.828 kB / 372.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.4078, allocations: 15.16 kB / 372.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.408, allocations: 181.6 kB / 372.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.408, allocations: 0.9062 kB / 372.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005836/0.4086, allocations: 78.92 kB / 372.8 MB, free: 19.76 MB / 302.1 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 (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.0002023/0.4088, allocations: 123.9 kB / 372.9 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.4099, allocations: 389.1 kB / 373.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4099, allocations: 1.219 kB / 373.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.41, allocations: 30.64 kB / 373.4 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.4111, allocations: 312.3 kB / 373.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.4127, allocations: 0.8763 MB / 374.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4131, allocations: 0.8093 MB / 375.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.4132, allocations: 39.39 kB / 375.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.4133, allocations: 31.12 kB / 375.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4133, allocations: 0 / 375.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01255/0.4259, allocations: 4.511 MB / 379.9 MB, free: 17.89 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches