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.0009707/0.0009707, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009822/0.0009822, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 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 0.9094/0.9094, allocations: 177.1 MB / 205.3 MB, free: 5.488 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 1.242e-06/1.242e-06, allocations: 0 / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.187e-05, allocations: 6.25 kB / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00264/0.002652, allocations: 2.635 MB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.003777, allocations: 0.9538 MB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.003924, allocations: 15.88 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.004085, allocations: 59.39 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.004263, allocations: 67.39 kB / 277.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.004667, allocations: 239.4 kB / 277.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.004951, allocations: 382.8 kB / 277.8 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.005134, allocations: 137.3 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.005302, allocations: 199.5 kB / 278.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.005424, allocations: 111.5 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.005461, allocations: 32 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.005557, allocations: 75.89 kB / 278.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/0.005636, allocations: 79.67 kB / 278.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.005713, allocations: 99.69 kB / 278.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.005981, allocations: 286.9 kB / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.005982, allocations: 0 / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005983, allocations: 0 / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.005986, allocations: 0 / 278.8 MB, free: 11.97 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.0005552/0.006541, allocations: 0.5387 MB / 279.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.006584, allocations: 8.031 kB / 279.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.00665, allocations: 44.91 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.006914, allocations: 237.3 kB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.006937, allocations: 25.02 kB / 279.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.006974, allocations: 32.38 kB / 279.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.007491, allocations: 0.6039 MB / 280.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.007501, allocations: 192 / 280.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.007521, allocations: 19.94 kB / 280.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.007528, allocations: 4 kB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.007621, allocations: 74.67 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.008057, allocations: 0.521 MB / 280.9 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.008382, allocations: 272.2 kB / 281.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.008497, allocations: 147.8 kB / 281.3 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.008674, allocations: 63.94 kB / 281.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.008695, allocations: 38.56 kB / 281.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.603e-06/0.008697, allocations: 0 / 281.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0002967/0.008993, allocations: 245.6 kB / 281.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.009079, allocations: 225 kB / 281.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.0092, allocations: 225 kB / 282 MB, free: 8.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.009219, allocations: 33.7 kB / 282.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.009273, allocations: 137.3 kB / 282.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.009293, allocations: 31.73 kB / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.00933, allocations: 37.69 kB / 282.3 MB, free: 8.164 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.009399, allocations: 342.7 kB / 282.6 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.00942, allocations: 14.89 kB / 282.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.009487, allocations: 144.1 kB / 282.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.016e-05/0.009567, allocations: 128.6 kB / 282.9 MB, free: 7.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.009569, allocations: 0 / 282.9 MB, free: 7.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001123/0.009681, allocations: 129.9 kB / 283 MB, free: 7.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.009692, allocations: 8 kB / 283 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.009697, allocations: 4 kB / 283 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.009709, allocations: 7.938 kB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.009792, allocations: 35.98 kB / 283.1 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.009797, allocations: 11.92 kB / 283.1 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.009856, allocations: 11.95 kB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.009864, allocations: 8.297 kB / 283.1 MB, free: 7.227 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 9.345e-05/0.009957, allocations: 143 kB / 283.2 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.01012, allocations: 177.3 kB / 283.4 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.01032, allocations: 192.8 kB / 283.6 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.01033, allocations: 7.938 kB / 283.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01033, allocations: 4 kB / 283.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01034, allocations: 3.984 kB / 283.6 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.0105, allocations: 153.6 kB / 283.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.0105, allocations: 0 / 283.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.01073, allocations: 95.89 kB / 283.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01074, allocations: 4 kB / 283.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.01076, allocations: 11.98 kB / 283.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01076, allocations: 4 kB / 283.9 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01076, allocations: 3.938 kB / 283.9 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.01091, allocations: 267.2 kB / 284.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.01094, allocations: 39.67 kB / 284.2 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.01097, allocations: 12 kB / 284.2 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.01107, allocations: 19.98 kB / 284.2 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.0111, allocations: 11.97 kB / 284.2 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.01112, allocations: 15.98 kB / 284.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.4e-05/0.01117, allocations: 74.78 kB / 284.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01117, allocations: 0 / 284.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.01139, allocations: 63.89 kB / 284.4 MB, free: 5.887 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.0001217/0.01151, allocations: 112.4 kB / 284.5 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.01167, allocations: 121.7 kB / 284.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.01168, allocations: 8.062 kB / 284.6 MB, free: 5.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.01169, allocations: 16.84 kB / 284.6 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.01213, allocations: 223.2 kB / 284.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.01297, allocations: 0.6678 MB / 285.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.422e-05/0.01304, allocations: 137.2 kB / 285.7 MB, free: 4.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.475e-05/0.01309, allocations: 18.98 kB / 285.7 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.01323, allocations: 119.3 kB / 285.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01323, allocations: 0 / 285.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of Templates: time 0.0951/0.1083, allocations: 4.883 MB / 290.7 MB, free: 25.95 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: 2.730941301677376]