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.0009041/0.0009041, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.00214, allocations: 457.8 kB / 10.45 MB, free: 244 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.001106/0.001106, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001506/0.002612, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9892/0.9892, allocations: 177.5 MB / 190 MB, free: 4.746 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08493/1.074, allocations: 53.87 MB / 243.9 MB, free: 14.81 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.763e-06/1.763e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.769e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.007028/0.007056, allocations: 2.706 MB / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.00861, allocations: 0.9575 MB / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.008819, allocations: 15.88 kB / 248.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.008992, allocations: 63.33 kB / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.01226, allocations: 71.44 kB / 249 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.01293, allocations: 227.4 kB / 249.2 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.01336, allocations: 378.8 kB / 249.6 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.01361, allocations: 137.3 kB / 249.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.0139, allocations: 229.2 kB / 249.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.01407, allocations: 107.6 kB / 250 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.01412, allocations: 36 kB / 250.1 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.01426, allocations: 67.97 kB / 250.1 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.115e-05/0.01435, allocations: 67.73 kB / 250.2 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.01444, allocations: 75.81 kB / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.0148, allocations: 258.9 kB / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.01481, allocations: 0 / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01481, allocations: 0 / 250.5 MB, free: 8.164 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.01482, allocations: 0 / 250.5 MB, free: 8.164 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.003886/0.01871, allocations: 0.6125 MB / 251.2 MB, free: 7.527 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.01874, allocations: 8.031 kB / 251.2 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.01882, allocations: 44.91 kB / 251.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.01916, allocations: 237.3 kB / 251.4 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01919, allocations: 21.03 kB / 251.5 MB, free: 7.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.01924, allocations: 36.31 kB / 251.5 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/0.01995, allocations: 0.6077 MB / 252.1 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.01997, allocations: 192 / 252.1 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.01999, allocations: 15.94 kB / 252.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.02, allocations: 4 kB / 252.1 MB, free: 6.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.02013, allocations: 70.66 kB / 252.2 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.02067, allocations: 0.521 MB / 252.7 MB, free: 5.844 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/0.02412, allocations: 272.1 kB / 253 MB, free: 5.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.02427, allocations: 135.5 kB / 253.1 MB, free: 5.398 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.02451, allocations: 63.66 kB / 253.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.02454, allocations: 38.56 kB / 253.2 MB, free: 5.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=52): time 2.986e-06/0.02455, allocations: 4 kB / 253.2 MB, free: 5.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=52): time 0.000433/0.02498, allocations: 257.3 kB / 253.5 MB, free: 5.027 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.02507, allocations: 156.5 kB / 253.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.02524, allocations: 233 kB / 253.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.02527, allocations: 33.7 kB / 253.9 MB, free: 4.566 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/0.02534, allocations: 137.3 kB / 254 MB, free: 4.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.02537, allocations: 31.73 kB / 254 MB, free: 4.398 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.02542, allocations: 37.69 kB / 254.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.02551, allocations: 334.8 kB / 254.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.02554, allocations: 11.11 kB / 254.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.02564, allocations: 165.7 kB / 254.6 MB, free: 3.797 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.02575, allocations: 124.6 kB / 254.7 MB, free: 3.637 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.02575, allocations: 4.031 kB / 254.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000166/0.02592, allocations: 121.9 kB / 254.8 MB, free: 3.504 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.02594, allocations: 8 kB / 254.8 MB, free: 3.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.02594, allocations: 4 kB / 254.8 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.02596, allocations: 3.938 kB / 254.8 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.02613, allocations: 44.23 kB / 254.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/0.02614, allocations: 15.97 kB / 254.9 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.02623, allocations: 19.89 kB / 254.9 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.02624, allocations: 4 kB / 254.9 MB, free: 3.406 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.0001172/0.02636, allocations: 144.5 kB / 255.1 MB, free: 3.254 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.0266, allocations: 166.6 kB / 255.2 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.0299, allocations: 200.6 kB / 255.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.02991, allocations: 11.94 kB / 255.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.02991, allocations: 0 / 255.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.02992, allocations: 4 kB / 255.4 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.03022, allocations: 161.5 kB / 255.6 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.03022, allocations: 0 / 255.6 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.03054, allocations: 111.8 kB / 255.7 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.03059, allocations: 47.61 kB / 255.7 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.03059, allocations: 4 kB / 255.8 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.03062, allocations: 12 kB / 255.8 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.03062, allocations: 3.938 kB / 255.8 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.03063, allocations: 4.328 kB / 255.8 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.03083, allocations: 259.3 kB / 256 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.03088, allocations: 12 kB / 256 MB, free: 2.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.03104, allocations: 15.98 kB / 256.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.03108, allocations: 15.92 kB / 256.1 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.0311, allocations: 12.06 kB / 256.1 MB, free: 2.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.177e-05/0.03118, allocations: 74.78 kB / 256.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03118, allocations: 0 / 256.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000337/0.03152, allocations: 63.89 kB / 256.2 MB, free: 2.043 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.0001826/0.0317, allocations: 116.3 kB / 256.3 MB, free: 1.922 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.03191, allocations: 112.2 kB / 256.4 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.03192, allocations: 4 kB / 256.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.03195, allocations: 28.72 kB / 256.5 MB, free: 1.773 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.03263, allocations: 0.6925 MB / 257.2 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.03653, allocations: 0.6562 MB / 257.8 MB, free: 284 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.413e-05/0.03661, allocations: 129.2 kB / 257.9 MB, free: 136 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.81e-05/0.03667, allocations: 22.98 kB / 258 MB, free: 112 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.03685, allocations: 115.4 kB / 258.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of SimCode: time 1.443e-06/0.03685, allocations: 0 / 258.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Templates: time 0.007463/0.04431, allocations: 4.993 MB / 263.1 MB, free: 11.09 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5939624132588506]