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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009298/0.0009298, allocations: 89.8 kB / 21.43 MB, free: 3.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009422/0.0009422, allocations: 160.3 kB / 24.82 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.992/0.992, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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=5101,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=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.612e-05, allocations: 5.266 kB / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002976/0.003002, allocations: 2.634 MB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.00425, allocations: 0.9267 MB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.004435, allocations: 15.88 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.00462, allocations: 59.33 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.004827, allocations: 59.52 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.005349, allocations: 247.3 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.00566, allocations: 386.8 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.005871, allocations: 133.3 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.006073, allocations: 203.5 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.006202, allocations: 107.6 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.006243, allocations: 32 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.006341, allocations: 67.91 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.006424, allocations: 87.66 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.006499, allocations: 103.7 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.006805, allocations: 278.9 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.006808, allocations: 0 / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006809, allocations: 0 / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.006813, allocations: 4 kB / 278.6 MB, free: 11.91 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.0006608/0.007474, allocations: 0.6595 MB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.007511, allocations: 12.03 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.007585, allocations: 68.7 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.007859, allocations: 275.9 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.007884, allocations: 21.03 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.007918, allocations: 28.38 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/0.008505, allocations: 0.6 MB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.008517, allocations: 192 / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.008537, allocations: 15.94 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.008547, allocations: 11.98 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.008647, allocations: 67.88 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.009213, allocations: 0.765 MB / 281.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.009588, allocations: 322.7 kB / 281.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.009732, allocations: 163.3 kB / 281.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.009995, allocations: 63.94 kB / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.01003, allocations: 53.36 kB / 281.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.335e-06/0.01003, allocations: 0 / 281.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0004137/0.01045, allocations: 306.2 kB / 282 MB, free: 8.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.01054, allocations: 219.6 kB / 282.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.0107, allocations: 288.2 kB / 282.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.01072, allocations: 33.7 kB / 282.5 MB, free: 7.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.651e-05/0.01081, allocations: 207.5 kB / 282.7 MB, free: 7.449 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.01083, allocations: 31.83 kB / 282.8 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.01088, allocations: 43.34 kB / 282.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.011, allocations: 0.504 MB / 283.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.01102, allocations: 8.312 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.0111, allocations: 183.3 kB / 283.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.0112, allocations: 144.4 kB / 283.7 MB, free: 6.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.0112, allocations: 0 / 283.7 MB, free: 6.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001363/0.01134, allocations: 149.2 kB / 283.8 MB, free: 6.258 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.01135, allocations: 4 kB / 283.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01135, allocations: 4 kB / 283.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.01137, allocations: 7.938 kB / 283.8 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.01148, allocations: 35.92 kB / 283.8 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.01149, allocations: 8.297 kB / 283.9 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.01159, allocations: 23.89 kB / 283.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.0116, allocations: 7.938 kB / 283.9 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.0001413/0.01174, allocations: 184.5 kB / 284.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.01198, allocations: 221.8 kB / 284.3 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.01224, allocations: 236.5 kB / 284.5 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.01225, allocations: 11.98 kB / 284.5 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01225, allocations: 7.984 kB / 284.5 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.01226, allocations: 3.984 kB / 284.5 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.01247, allocations: 196.9 kB / 284.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.01247, allocations: 0 / 284.7 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.01268, allocations: 95.88 kB / 284.8 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.01268, allocations: 4 kB / 284.8 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.0127, allocations: 8 kB / 284.8 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.0127, allocations: 0 / 284.8 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.01271, allocations: 7.938 kB / 284.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.01291, allocations: 370.2 kB / 285.2 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.01294, allocations: 39.69 kB / 285.2 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.01298, allocations: 12 kB / 285.3 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.01309, allocations: 20.02 kB / 285.3 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.01312, allocations: 15.92 kB / 285.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.01314, allocations: 8 kB / 285.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.035e-05/0.01323, allocations: 201.1 kB / 285.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 0 / 285.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.01348, allocations: 63.89 kB / 285.6 MB, free: 4.418 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.0001502/0.01363, allocations: 127.1 kB / 285.7 MB, free: 4.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.0138, allocations: 126.9 kB / 285.8 MB, free: 4.156 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01381, allocations: 0 / 285.8 MB, free: 4.156 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.01383, allocations: 23.62 kB / 285.8 MB, free: 4.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.01434, allocations: 221.9 kB / 286 MB, free: 3.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.01534, allocations: 0.6606 MB / 286.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.045e-05/0.01543, allocations: 129.2 kB / 286.8 MB, free: 3.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.01548, allocations: 22.97 kB / 286.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.01565, allocations: 146.1 kB / 287 MB, free: 2.887 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01565, allocations: 4 kB / 287 MB, free: 2.883 MB / 266.7 MB Notification: Performance of Templates: time 0.006694/0.02234, allocations: 4.963 MB / 292 MB, free: 14 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] 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.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: 2.836522034369409]