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.0007894/0.0007894, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009777/0.001767, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007145/0.0007145, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008689/0.001583, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.164, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.803e-06/1.803e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.608e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004244/0.00427, allocations: 2.703 MB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.006062, allocations: 0.9576 MB / 248.2 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.006317, allocations: 11.88 kB / 248.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.006508, allocations: 67.25 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.006742, allocations: 59.52 kB / 248.3 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.007435, allocations: 239.3 kB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.007897, allocations: 378.9 kB / 248.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.008175, allocations: 133.3 kB / 249 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.008522, allocations: 229.2 kB / 249.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.008722, allocations: 107.6 kB / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.008776, allocations: 32 kB / 249.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.008946, allocations: 79.89 kB / 249.5 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.009055, allocations: 59.8 kB / 249.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.009206, allocations: 83.75 kB / 249.6 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.009636, allocations: 247 kB / 249.9 MB, free: 8.953 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.642e-05/0.009652, allocations: 0 / 249.9 MB, free: 8.953 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.009654, allocations: 0 / 249.9 MB, free: 8.953 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.009673, allocations: 4 kB / 249.9 MB, free: 8.949 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.0009768/0.01065, allocations: 0.6008 MB / 250.5 MB, free: 8.324 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.01069, allocations: 15.97 kB / 250.5 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.01077, allocations: 44.91 kB / 250.5 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.01113, allocations: 245.3 kB / 250.8 MB, free: 8.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.01116, allocations: 21.03 kB / 250.8 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.01121, allocations: 32.34 kB / 250.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000749/0.01195, allocations: 0.596 MB / 251.4 MB, free: 7.297 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.01197, allocations: 8.125 kB / 251.4 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.012, allocations: 15.94 kB / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.01201, allocations: 8 kB / 251.4 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.01215, allocations: 66.73 kB / 251.5 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.01278, allocations: 0.5365 MB / 252 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.01324, allocations: 269.6 kB / 252.3 MB, free: 6.324 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.01341, allocations: 127.5 kB / 252.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.01369, allocations: 67.7 kB / 252.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.01373, allocations: 42.5 kB / 252.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 2.946e-06/0.01373, allocations: 0 / 252.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005299/0.01426, allocations: 254.3 kB / 252.8 MB, free: 5.816 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.01438, allocations: 160.5 kB / 252.9 MB, free: 5.629 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.0147, allocations: 225 kB / 253.2 MB, free: 5.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.01473, allocations: 37.7 kB / 253.2 MB, free: 5.355 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.01481, allocations: 129.3 kB / 253.3 MB, free: 5.223 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.01484, allocations: 39.89 kB / 253.4 MB, free: 5.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.0149, allocations: 37.69 kB / 253.4 MB, free: 5.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01501, allocations: 330.8 kB / 253.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.505e-05/0.01505, allocations: 22.88 kB / 253.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01516, allocations: 150.5 kB / 253.9 MB, free: 4.586 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.01528, allocations: 116.6 kB / 254 MB, free: 4.434 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01529, allocations: 0 / 254 MB, free: 4.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001951/0.01548, allocations: 125.9 kB / 254.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.0155, allocations: 12.3 kB / 254.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.01551, allocations: 11.94 kB / 254.2 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01552, allocations: 7.938 kB / 254.2 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.0157, allocations: 43.92 kB / 254.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01571, allocations: 4 kB / 254.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.01582, allocations: 23.88 kB / 254.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.01583, allocations: 4 kB / 254.2 MB, free: 4.195 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 0.0001307/0.01596, allocations: 136.6 kB / 254.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.01624, allocations: 169.5 kB / 254.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.01656, allocations: 200.6 kB / 254.7 MB, free: 3.676 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.01656, allocations: 11.94 kB / 254.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01657, allocations: 0 / 254.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.01658, allocations: 3.984 kB / 254.7 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.01685, allocations: 157.6 kB / 254.9 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.01686, allocations: 0 / 254.9 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.0172, allocations: 112.3 kB / 255 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.01726, allocations: 39.64 kB / 255 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.01726, allocations: 4 kB / 255 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.0173, allocations: 15.98 kB / 255.1 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.0173, allocations: 3.938 kB / 255.1 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.01731, allocations: 4 kB / 255.1 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.01754, allocations: 259.3 kB / 255.3 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.01759, allocations: 15.98 kB / 255.3 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.01776, allocations: 19.92 kB / 255.4 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.0178, allocations: 15.88 kB / 255.4 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.01782, allocations: 11.98 kB / 255.4 MB, free: 2.973 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.01791, allocations: 74.78 kB / 255.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01791, allocations: 0 / 255.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003918/0.0183, allocations: 67.92 kB / 255.5 MB, free: 2.832 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.0001709/0.01847, allocations: 107.7 kB / 255.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01869, allocations: 120.1 kB / 255.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.0187, allocations: 0 / 255.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.777e-05/0.01873, allocations: 16.8 kB / 255.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.01946, allocations: 251.3 kB / 256 MB, free: 2.332 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.02221, allocations: 0.6612 MB / 256.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.02234, allocations: 129.2 kB / 256.8 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.02245, allocations: 23.3 kB / 256.8 MB, free: 1.465 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.0227, allocations: 119.3 kB / 256.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of SimCode: time 2.265e-06/0.0227, allocations: 0 / 256.9 MB, free: 1.348 MB / 250.7 MB Notification: Performance of Templates: time 0.01136/0.03406, allocations: 5.116 MB / 262.1 MB, free: 12.32 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 -ignoreHideResult -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.6427465407177806]