Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 143.8 kB / 24.98 MB, free: 8.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9835/0.9835, allocations: 173.3 MB / 201.5 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 268 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.819e-05, allocations: 6.25 kB / 268 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.003112/0.00314, allocations: 2.638 MB / 270.7 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.004401, allocations: 0.8956 MB / 271.6 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.004574, allocations: 11.94 kB / 271.6 MB, free: 3.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.004773, allocations: 63.33 kB / 271.7 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.00499, allocations: 71.38 kB / 271.7 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.005486, allocations: 259.2 kB / 272 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.005799, allocations: 374.9 kB / 272.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.006013, allocations: 125.4 kB / 272.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.006208, allocations: 195.5 kB / 272.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.006345, allocations: 111.6 kB / 272.8 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.006384, allocations: 32 kB / 272.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.006478, allocations: 67.97 kB / 272.9 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-05/0.006573, allocations: 87.66 kB / 272.9 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.006658, allocations: 103.7 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.007084, allocations: 282.8 kB / 273.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.007088, allocations: 0 / 273.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007089, allocations: 0 / 273.3 MB, free: 1.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.007097, allocations: 0 / 273.3 MB, free: 1.445 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.0007279/0.007825, allocations: 0.6557 MB / 274 MB, free: 0.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.007859, allocations: 15.97 kB / 274 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.007944, allocations: 64.66 kB / 274.1 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.008281, allocations: 276.1 kB / 274.3 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.008308, allocations: 21.03 kB / 274.3 MB, free: 364 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.008351, allocations: 40.27 kB / 274.4 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/0.009115, allocations: 0.6312 MB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.009128, allocations: 4.188 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.009152, allocations: 15.94 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.009164, allocations: 8 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.009332, allocations: 94.83 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.009982, allocations: 0.7611 MB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.01047, allocations: 345.5 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.01065, allocations: 178.5 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.01091, allocations: 63.94 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.01094, allocations: 57.09 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 1.803e-06/0.01094, allocations: 0 / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.0004928/0.01144, allocations: 349.1 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.01153, allocations: 212.1 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01172, allocations: 292.3 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.01174, allocations: 37.7 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.01183, allocations: 203.6 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.01186, allocations: 27.8 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.0119, allocations: 39.36 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.01203, allocations: 0.5079 MB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.01206, allocations: 8.938 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.01216, allocations: 191.2 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.01226, allocations: 144.5 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01226, allocations: 0 / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001535/0.01242, allocations: 153.3 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.01243, allocations: 4 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01244, allocations: 4 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.01245, allocations: 7.938 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.01255, allocations: 39.91 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.01255, allocations: 4 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.01262, allocations: 19.89 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.01263, allocations: 4.312 kB / 278.7 MB, free: 11.55 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.000112/0.01274, allocations: 188.5 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.01302, allocations: 258.5 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.01333, allocations: 257.6 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.01334, allocations: 15.88 kB / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01334, allocations: 0 / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01335, allocations: 0 / 279.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.01355, allocations: 228.3 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.01356, allocations: 3.984 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.01377, allocations: 99.88 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01378, allocations: 4 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.01379, allocations: 12 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.0138, allocations: 7.938 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.0138, allocations: 3.938 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005704/0.01437, allocations: 0.6383 MB / 280.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.01441, allocations: 47.62 kB / 280.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.01445, allocations: 12 kB / 280.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.01456, allocations: 23.98 kB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.0146, allocations: 15.89 kB / 280.5 MB, free: 9.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.01462, allocations: 16 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.01473, allocations: 205.1 kB / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01473, allocations: 0 / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.01498, allocations: 59.95 kB / 280.8 MB, free: 9.398 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.0001445/0.01512, allocations: 123.1 kB / 280.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.01533, allocations: 143.6 kB / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01534, allocations: 8.062 kB / 281.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.01536, allocations: 23.62 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.01595, allocations: 236.6 kB / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.01697, allocations: 0.6557 MB / 282 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.01705, allocations: 125.2 kB / 282.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.424e-05/0.0171, allocations: 30.89 kB / 282.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.01715, allocations: 24.5 kB / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01715, allocations: 0 / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of Templates: time 0.006535/0.02369, allocations: 4.638 MB / 286.8 MB, free: 3.387 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9707528001163155]