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.001452/0.001452, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001105/0.001105, allocations: 167.7 kB / 24.99 MB, free: 8.219 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 1.018/1.018, allocations: 177 MB / 205.2 MB, free: 5.543 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.964e-06/1.964e-06, allocations: 0 / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.478e-05, allocations: 2.312 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003194/0.003219, allocations: 2.649 MB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.004644, allocations: 0.9267 MB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.004867, allocations: 11.94 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.005063, allocations: 59.33 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.005328, allocations: 75.42 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.005959, allocations: 243.3 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.006376, allocations: 382.9 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.006606, allocations: 125.4 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.006822, allocations: 203.5 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.006967, allocations: 107.6 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.007007, allocations: 36 kB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.007114, allocations: 67.91 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/0.007209, allocations: 91.66 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.007297, allocations: 103.7 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.007643, allocations: 278.9 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.007646, allocations: 0 / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007647, allocations: 0 / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.007652, allocations: 0 / 278.3 MB, free: 12.39 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.0007623/0.008414, allocations: 0.6635 MB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.008451, allocations: 8.031 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.571e-05/0.008546, allocations: 68.64 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.008884, allocations: 276 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.008913, allocations: 21.03 kB / 279.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.008958, allocations: 40.3 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.009721, allocations: 0.6314 MB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.009735, allocations: 192 / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.009759, allocations: 19.94 kB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.00977, allocations: 8 kB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.00993, allocations: 87.86 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.01058, allocations: 0.7612 MB / 280.9 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.01107, allocations: 346.8 kB / 281.2 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.01125, allocations: 174.7 kB / 281.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.01149, allocations: 71.92 kB / 281.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.01151, allocations: 49.33 kB / 281.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.244e-06/0.01152, allocations: 0 / 281.5 MB, free: 8.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005587/0.01207, allocations: 354.5 kB / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/0.01217, allocations: 211.8 kB / 282 MB, free: 8.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.01236, allocations: 296.2 kB / 282.3 MB, free: 8.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.01238, allocations: 33.7 kB / 282.4 MB, free: 7.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.01247, allocations: 203.6 kB / 282.6 MB, free: 7.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.01249, allocations: 27.78 kB / 282.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.01253, allocations: 43.36 kB / 282.6 MB, free: 7.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.01264, allocations: 0.5079 MB / 283.1 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.01267, allocations: 16.42 kB / 283.2 MB, free: 7.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-05/0.01276, allocations: 195.2 kB / 283.4 MB, free: 6.918 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.01287, allocations: 140.5 kB / 283.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01288, allocations: 0 / 283.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001614/0.01304, allocations: 153.2 kB / 283.6 MB, free: 6.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01305, allocations: 4 kB / 283.6 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01306, allocations: 4 kB / 283.6 MB, free: 6.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01307, allocations: 7.938 kB / 283.7 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.01317, allocations: 40.23 kB / 283.7 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.01317, allocations: 8 kB / 283.7 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.01324, allocations: 15.94 kB / 283.7 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.01325, allocations: 4 kB / 283.7 MB, free: 6.496 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.0001125/0.01336, allocations: 180.5 kB / 283.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.01365, allocations: 253.3 kB / 284.1 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.01398, allocations: 260.6 kB / 284.4 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.01399, allocations: 15.88 kB / 284.4 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01399, allocations: 4 kB / 284.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.014, allocations: 3.984 kB / 284.4 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.01423, allocations: 224.3 kB / 284.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.01423, allocations: 0 / 284.6 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.01444, allocations: 95.88 kB / 284.7 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.01445, allocations: 4 kB / 284.7 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.01447, allocations: 8 kB / 284.7 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.01447, allocations: 11.94 kB / 284.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01447, allocations: 3.938 kB / 284.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.015, allocations: 0.65 MB / 285.4 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.01504, allocations: 39.69 kB / 285.5 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.01508, allocations: 12 kB / 285.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.0152, allocations: 19.98 kB / 285.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.01524, allocations: 16.02 kB / 285.5 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.01526, allocations: 11.94 kB / 285.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01536, allocations: 209.1 kB / 285.7 MB, free: 4.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01536, allocations: 4 kB / 285.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.01562, allocations: 59.89 kB / 285.8 MB, free: 4.352 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.000156/0.01578, allocations: 131.2 kB / 285.9 MB, free: 4.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.016, allocations: 135 kB / 286 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.016, allocations: 0 / 286 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.01603, allocations: 27.61 kB / 286.1 MB, free: 4.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.01664, allocations: 230.6 kB / 286.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.0177, allocations: 0.6678 MB / 287 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.113e-05/0.01778, allocations: 121.2 kB / 287.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.01783, allocations: 30.92 kB / 287.1 MB, free: 2.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.01789, allocations: 28.5 kB / 287.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01789, allocations: 0 / 287.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of Templates: time 0.006607/0.02449, allocations: 4.654 MB / 291.8 MB, free: 14.3 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: 3.024383567040786]