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.0008108/0.0008108, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003365/0.003365, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.8703/0.8703, allocations: 177.1 MB / 205 MB, free: 5.727 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 2.154e-06/2.154e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.586e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00293/0.002955, allocations: 2.566 MB / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004237, allocations: 0.9151 MB / 329.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.004408, allocations: 11.94 kB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.00461, allocations: 63.31 kB / 329.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.004846, allocations: 67.38 kB / 329.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.005367, allocations: 250.5 kB / 329.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000319/0.005686, allocations: 390.8 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.005924, allocations: 125.4 kB / 330.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.006125, allocations: 199.5 kB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.006263, allocations: 103.6 kB / 330.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.006302, allocations: 32 kB / 330.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.006402, allocations: 75.89 kB / 330.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.006493, allocations: 83.67 kB / 330.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.649e-05/0.00658, allocations: 107.7 kB / 330.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.006978, allocations: 430.5 kB / 331.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00698, allocations: 0 / 331.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.006981, allocations: 0 / 331.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.006987, allocations: 0 / 331.2 MB, free: 10.05 MB / 298.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.0007514/0.007738, allocations: 0.5713 MB / 331.8 MB, free: 9.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.007779, allocations: 16.03 kB / 331.8 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.007851, allocations: 40.7 kB / 331.8 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.008195, allocations: 269.2 kB / 332.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.008215, allocations: 21.03 kB / 332.1 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.008253, allocations: 24.38 kB / 332.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/0.009148, allocations: 0.8049 MB / 332.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.009163, allocations: 192 / 332.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.009188, allocations: 15.94 kB / 332.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.009195, allocations: 11.94 kB / 332.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.009511, allocations: 223.8 kB / 333.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.01006, allocations: 0.5988 MB / 333.8 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.0107, allocations: 460.3 kB / 334.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.01096, allocations: 243.1 kB / 334.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.01122, allocations: 75.86 kB / 334.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.01124, allocations: 38.56 kB / 334.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.643e-06/0.01124, allocations: 0 / 334.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007193/0.01196, allocations: 0.5244 MB / 335.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.01206, allocations: 212 kB / 335.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.01225, allocations: 257.8 kB / 335.5 MB, free: 5.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.01228, allocations: 29.7 kB / 335.6 MB, free: 5.367 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.01238, allocations: 152.9 kB / 335.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.01241, allocations: 31.8 kB / 335.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.01245, allocations: 37.7 kB / 335.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.01257, allocations: 334.8 kB / 336.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.01265, allocations: 43.97 kB / 336.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.01279, allocations: 186.5 kB / 336.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.01295, allocations: 161.3 kB / 336.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01295, allocations: 4 kB / 336.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002166/0.01317, allocations: 205.2 kB / 336.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01318, allocations: 10.97 kB / 336.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01319, allocations: 0 / 336.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01321, allocations: 12.25 kB / 336.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.01329, allocations: 43.91 kB / 336.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.0133, allocations: 4.109 kB / 336.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.01337, allocations: 27.81 kB / 336.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.01338, allocations: 8 kB / 336.8 MB, free: 4.023 MB / 298.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.0001193/0.0135, allocations: 160.6 kB / 337 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.01388, allocations: 350.1 kB / 337.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008547/0.01473, allocations: 364.7 kB / 337.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.01474, allocations: 7.938 kB / 337.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.01475, allocations: 0 / 337.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.01475, allocations: 4 kB / 337.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.01497, allocations: 209 kB / 337.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.01497, allocations: 4 kB / 337.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.01524, allocations: 103.9 kB / 338 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.01525, allocations: 0 / 338 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.01527, allocations: 15.98 kB / 338 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.01528, allocations: 7.938 kB / 338 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.01528, allocations: 7.875 kB / 338 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.01629, allocations: 0.7689 MB / 338.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.01635, allocations: 43.67 kB / 338.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.01639, allocations: 19.98 kB / 338.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.01658, allocations: 19.98 kB / 338.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01662, allocations: 15.92 kB / 338.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.01664, allocations: 11.94 kB / 338.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.0168, allocations: 185.2 kB / 339.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0168, allocations: 0 / 339.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.01719, allocations: 67.95 kB / 339.1 MB, free: 1.621 MB / 298.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.0001739/0.01737, allocations: 131.1 kB / 339.3 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.01779, allocations: 223.8 kB / 339.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.01779, allocations: 0 / 339.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/0.01784, allocations: 31.98 kB / 339.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.01848, allocations: 299.1 kB / 339.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/0.01944, allocations: 0.7165 MB / 340.5 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.01958, allocations: 205.8 kB / 340.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.01964, allocations: 28.5 kB / 340.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01964, allocations: 4 kB / 340.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of Templates: time 0.004385/0.02402, allocations: 4.2 MB / 345 MB, free: 11.74 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5710568726062775]