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.000729/0.000729, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001731, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007132/0.0007132, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000911/0.001624, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9831/0.9831, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08961/1.073, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.303e-06/1.303e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.085e-05, allocations: 6.25 kB / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.002696/0.002717, allocations: 2.699 MB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.003883, allocations: 0.9615 MB / 248.7 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.004067, allocations: 11.88 kB / 248.7 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.004221, allocations: 67.33 kB / 248.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.004437, allocations: 63.45 kB / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.005047, allocations: 235.3 kB / 249 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.00546, allocations: 382.8 kB / 249.4 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.005702, allocations: 137.3 kB / 249.5 MB, free: 9.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.005955, allocations: 226.6 kB / 249.8 MB, free: 8.891 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.006097, allocations: 111.6 kB / 249.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.006139, allocations: 32 kB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.00628, allocations: 71.97 kB / 250 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.725e-05/0.006377, allocations: 63.73 kB / 250 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.661e-05/0.006454, allocations: 79.81 kB / 250.1 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.006793, allocations: 254.9 kB / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.006804, allocations: 0 / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006805, allocations: 0 / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.006817, allocations: 0 / 250.4 MB, free: 8.289 MB / 250.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.0007098/0.007527, allocations: 0.597 MB / 250.9 MB, free: 7.668 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.007559, allocations: 20.02 kB / 251 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.007622, allocations: 44.91 kB / 251 MB, free: 7.605 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.007905, allocations: 237.2 kB / 251.2 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.007931, allocations: 21.03 kB / 251.3 MB, free: 7.328 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.007967, allocations: 32.36 kB / 251.3 MB, free: 7.297 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.008531, allocations: 0.5999 MB / 251.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.008544, allocations: 192 / 251.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.008563, allocations: 19.92 kB / 251.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.00857, allocations: 8 kB / 251.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.008665, allocations: 66.72 kB / 252 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.009135, allocations: 0.5326 MB / 252.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.009485, allocations: 263.6 kB / 252.8 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.009596, allocations: 135.5 kB / 252.9 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.009788, allocations: 63.72 kB / 253 MB, free: 5.473 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.009817, allocations: 46.44 kB / 253 MB, free: 5.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/0.009819, allocations: 0 / 253 MB, free: 5.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=52): time 0.0003118/0.01013, allocations: 257.2 kB / 253.3 MB, free: 5.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.01021, allocations: 160.5 kB / 253.4 MB, free: 4.973 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.01033, allocations: 225 kB / 253.6 MB, free: 4.738 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.01035, allocations: 33.7 kB / 253.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.0104, allocations: 137.3 kB / 253.8 MB, free: 4.562 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.01042, allocations: 27.78 kB / 253.8 MB, free: 4.535 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.01046, allocations: 37.69 kB / 253.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.01054, allocations: 334.8 kB / 254.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.01057, allocations: 18.97 kB / 254.2 MB, free: 4.137 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.01064, allocations: 150.4 kB / 254.4 MB, free: 3.938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.22e-05/0.01072, allocations: 120.8 kB / 254.5 MB, free: 3.781 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01073, allocations: 0 / 254.5 MB, free: 3.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000116/0.01084, allocations: 129.9 kB / 254.6 MB, free: 3.645 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.01086, allocations: 7.984 kB / 254.6 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.01086, allocations: 4 kB / 254.6 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01087, allocations: 7.938 kB / 254.6 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.011, allocations: 43.92 kB / 254.7 MB, free: 3.582 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01101, allocations: 7.984 kB / 254.7 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.01107, allocations: 28.19 kB / 254.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.01108, allocations: 7.938 kB / 254.7 MB, free: 3.539 MB / 250.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.864e-05/0.01117, allocations: 137 kB / 254.9 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.01135, allocations: 170.6 kB / 255 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.01155, allocations: 200.6 kB / 255.2 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.01156, allocations: 11.94 kB / 255.2 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01156, allocations: 0 / 255.2 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.01157, allocations: 3.984 kB / 255.2 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.01174, allocations: 157.6 kB / 255.4 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.01174, allocations: 4 kB / 255.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.01198, allocations: 111.4 kB / 255.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.01201, allocations: 43.58 kB / 255.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.01202, allocations: 4 kB / 255.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.01203, allocations: 15.98 kB / 255.6 MB, free: 2.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/0.01204, allocations: 7.938 kB / 255.6 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01204, allocations: 0 / 255.6 MB, free: 2.652 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.01223, allocations: 247.3 kB / 255.8 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.01227, allocations: 15.98 kB / 255.8 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.01238, allocations: 28.02 kB / 255.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.01241, allocations: 7.875 kB / 255.9 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.01243, allocations: 15.98 kB / 255.9 MB, free: 2.32 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.251e-05/0.01249, allocations: 78.78 kB / 256 MB, free: 2.242 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01249, allocations: 0 / 256 MB, free: 2.242 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.01271, allocations: 63.89 kB / 256 MB, free: 2.18 MB / 250.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.0001337/0.01284, allocations: 100.3 kB / 256.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.01299, allocations: 127.2 kB / 256.2 MB, free: 1.949 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.013, allocations: 0 / 256.2 MB, free: 1.949 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.01302, allocations: 20.73 kB / 256.3 MB, free: 1.926 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.01353, allocations: 246.9 kB / 256.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.01523, allocations: 0.6656 MB / 257.2 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.969e-05/0.01531, allocations: 129.2 kB / 257.3 MB, free: 0.832 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.01537, allocations: 22.98 kB / 257.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.01553, allocations: 115.3 kB / 257.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01553, allocations: 0 / 257.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of Templates: time 0.007561/0.02309, allocations: 5.117 MB / 262.5 MB, free: 11.66 MB / 266.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 -ignoreHideResult -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.5430960655212402]