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.002282/0.002282, allocations: 95.86 kB / 20.96 MB, free: 3.457 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.001949/0.001949, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 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 1.633/1.633, allocations: 173.3 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] 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.734e-06/1.734e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.162e-05, allocations: 6.25 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004568/0.0046, allocations: 2.615 MB / 269.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.006613, allocations: 0.884 MB / 270.8 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.006831, allocations: 15.88 kB / 270.8 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.007073, allocations: 63.31 kB / 270.9 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.007364, allocations: 63.45 kB / 270.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.008125, allocations: 251.3 kB / 271.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.008642, allocations: 394.7 kB / 271.6 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.008921, allocations: 125.4 kB / 271.7 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.00922, allocations: 199.5 kB / 271.9 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.009422, allocations: 111.6 kB / 272 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.009485, allocations: 32 kB / 272 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.009629, allocations: 67.95 kB / 272.1 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.00976, allocations: 83.67 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.009893, allocations: 99.69 kB / 272.3 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.01052, allocations: 438.5 kB / 272.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01053, allocations: 0 / 272.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01053, allocations: 0 / 272.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.01054, allocations: 0 / 272.7 MB, free: 1.305 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.001191/0.01173, allocations: 0.6826 MB / 273.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.01177, allocations: 8.031 kB / 273.4 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.0119, allocations: 64.66 kB / 273.4 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.01239, allocations: 284.1 kB / 273.7 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.01243, allocations: 25.03 kB / 273.7 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.01248, allocations: 24.38 kB / 273.8 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.01396, allocations: 0.7827 MB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.01398, allocations: 12.17 kB / 274.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.01402, allocations: 11.94 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.01403, allocations: 8 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.01453, allocations: 179.8 kB / 274.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.01563, allocations: 0.804 MB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.01672, allocations: 482.4 kB / 276 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.0172, allocations: 242.8 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004338/0.01763, allocations: 63.92 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.01768, allocations: 49.17 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=52): time 2.024e-06/0.01768, allocations: 4 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=52): time 0.00122/0.0189, allocations: 0.4893 MB / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/0.01909, allocations: 215.8 kB / 277.1 MB, free: 12.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.0195, allocations: 336.3 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.01954, allocations: 33.7 kB / 277.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.01973, allocations: 211.6 kB / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.251e-05/0.01978, allocations: 39.84 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.01987, allocations: 51.36 kB / 277.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003019/0.02017, allocations: 0.5118 MB / 278.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.724e-05/0.02027, allocations: 32.91 kB / 278.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.02052, allocations: 205.8 kB / 278.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.02079, allocations: 172.8 kB / 278.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.0208, allocations: 4 kB / 278.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003657/0.02117, allocations: 181.6 kB / 278.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.02118, allocations: 4.109 kB / 278.8 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02119, allocations: 7.938 kB / 278.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.02122, allocations: 7.938 kB / 278.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.02136, allocations: 31.98 kB / 278.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.02137, allocations: 7.938 kB / 278.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.02151, allocations: 23.88 kB / 278.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.02152, allocations: 4 kB / 278.9 MB, free: 10.6 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.0002219/0.02174, allocations: 196.6 kB / 279.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/0.02243, allocations: 346.1 kB / 279.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.02317, allocations: 329.4 kB / 279.8 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.02318, allocations: 7.938 kB / 279.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.02318, allocations: 4 kB / 279.8 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.02319, allocations: 3.984 kB / 279.8 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.02361, allocations: 252.3 kB / 280 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.02362, allocations: 4 kB / 280 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.02401, allocations: 99.89 kB / 280.1 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.02402, allocations: 0 / 280.1 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.02405, allocations: 8 kB / 280.1 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.02405, allocations: 7.984 kB / 280.2 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.02406, allocations: 3.938 kB / 280.2 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.02539, allocations: 0.8296 MB / 281 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.02546, allocations: 51.56 kB / 281 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.02552, allocations: 20.03 kB / 281.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.02574, allocations: 19.98 kB / 281.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.02579, allocations: 11.92 kB / 281.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.02582, allocations: 12 kB / 281.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002525/0.02608, allocations: 237.1 kB / 281.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02608, allocations: 0 / 281.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000393/0.02647, allocations: 59.95 kB / 281.4 MB, free: 8.043 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.0002156/0.02669, allocations: 123.1 kB / 281.5 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005413/0.02723, allocations: 218.8 kB / 281.7 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02723, allocations: 0 / 281.7 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.35e-05/0.02731, allocations: 31.67 kB / 281.8 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.02836, allocations: 285.6 kB / 282 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.02983, allocations: 0.7178 MB / 282.7 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.03006, allocations: 201.8 kB / 282.9 MB, free: 6.402 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.03014, allocations: 22.97 kB / 283 MB, free: 6.383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.03021, allocations: 24.5 kB / 283 MB, free: 6.359 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03021, allocations: 0 / 283 MB, free: 6.359 MB / 266.7 MB Notification: Performance of Templates: time 0.01036/0.04057, allocations: 4.647 MB / 287.6 MB, free: 1.77 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.619252448901534]