Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 161 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.081e-05/8.3e-05, allocations: 5.828 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00348/0.003563, allocations: 2.661 MB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.004812, allocations: 0.9346 MB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.004989, allocations: 11.88 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.005215, allocations: 55.39 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.005446, allocations: 71.38 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.005956, allocations: 251.4 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.006276, allocations: 390.8 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.006513, allocations: 125.4 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.006697, allocations: 203.4 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.006836, allocations: 107.6 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.006878, allocations: 32 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.006978, allocations: 67.91 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.007077, allocations: 91.66 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.007164, allocations: 99.67 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.007477, allocations: 275 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.007482, allocations: 3.984 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007483, allocations: 4 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.007489, allocations: 0 / 278.3 MB, free: 12.06 MB / 266.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.0007563/0.008245, allocations: 0.6595 MB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.008282, allocations: 12.03 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.008364, allocations: 60.7 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.008683, allocations: 280 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.008711, allocations: 21.03 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.008754, allocations: 24.38 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007287/0.009482, allocations: 0.6352 MB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.009497, allocations: 8.172 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.009522, allocations: 19.94 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.009532, allocations: 8 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.009685, allocations: 87.83 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.01029, allocations: 0.769 MB / 280.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.01078, allocations: 342.9 kB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.01097, allocations: 174.7 kB / 281.4 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.01123, allocations: 75.92 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.01126, allocations: 41.39 kB / 281.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.944e-06/0.01127, allocations: 0 / 281.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005159/0.01178, allocations: 345.1 kB / 281.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.01189, allocations: 216.8 kB / 282 MB, free: 8.012 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.01209, allocations: 300.2 kB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.01211, allocations: 33.7 kB / 282.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.01221, allocations: 203.6 kB / 282.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.01223, allocations: 23.84 kB / 282.6 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.01228, allocations: 43.83 kB / 282.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.01241, allocations: 0.5079 MB / 283.1 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.01244, allocations: 11.98 kB / 283.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.01254, allocations: 187.2 kB / 283.3 MB, free: 6.605 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.01264, allocations: 144.4 kB / 283.5 MB, free: 6.418 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01265, allocations: 4 kB / 283.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001637/0.01281, allocations: 153.3 kB / 283.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.01283, allocations: 14.8 kB / 283.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01283, allocations: 4 kB / 283.6 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.01285, allocations: 3.938 kB / 283.6 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.01294, allocations: 39.98 kB / 283.7 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.01294, allocations: 4.047 kB / 283.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.01301, allocations: 19.83 kB / 283.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.01301, allocations: 8 kB / 283.7 MB, free: 6.168 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (18): * Single equations (assignments): 18 * 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.0001068/0.01312, allocations: 191.7 kB / 283.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.01339, allocations: 253.3 kB / 284.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.01369, allocations: 264.5 kB / 284.4 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.01369, allocations: 7.938 kB / 284.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.0137, allocations: 4 kB / 284.4 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.0137, allocations: 3.984 kB / 284.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.01391, allocations: 220.3 kB / 284.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.01391, allocations: 4 kB / 284.6 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.01411, allocations: 99.88 kB / 284.7 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01411, allocations: 4 kB / 284.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.01413, allocations: 8 kB / 284.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01413, allocations: 0 / 284.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.01414, allocations: 7.938 kB / 284.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.01464, allocations: 0.6422 MB / 285.4 MB, free: 4.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.01468, allocations: 43.67 kB / 285.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.01471, allocations: 12 kB / 285.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.01482, allocations: 19.98 kB / 285.5 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.01486, allocations: 15.95 kB / 285.5 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.01488, allocations: 15.94 kB / 285.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.01499, allocations: 209.1 kB / 285.7 MB, free: 4.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01499, allocations: 0 / 285.7 MB, free: 4.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.01523, allocations: 63.89 kB / 285.8 MB, free: 4.023 MB / 266.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 (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.0001648/0.01539, allocations: 127.1 kB / 285.9 MB, free: 3.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.01562, allocations: 140.4 kB / 286 MB, free: 3.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01562, allocations: 4.188 kB / 286 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.01564, allocations: 15.69 kB / 286.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.01623, allocations: 252.9 kB / 286.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.01723, allocations: 0.6629 MB / 287 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.611e-05/0.01732, allocations: 121.2 kB / 287.1 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.01737, allocations: 22.98 kB / 287.1 MB, free: 2.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.01742, allocations: 28.5 kB / 287.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01742, allocations: 0 / 287.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of Templates: time 0.1143/0.1317, allocations: 4.631 MB / 291.8 MB, free: 25.54 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1812716643325984]