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.001287/0.001287, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001444/0.001444, allocations: 213.1 kB / 23.74 MB, free: 4.656 MB / 14.72 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001691/0.001691, allocations: 47.92 kB / 378.2 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2369, allocations: 53.36 MB / 431.6 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004267/0.2411, allocations: 2.728 MB / 434.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.2428, allocations: 0.9659 MB / 435.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.243, allocations: 11.94 kB / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.2432, allocations: 59.33 kB / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.2434, allocations: 63.45 kB / 435.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.244, allocations: 250.5 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004262/0.2444, allocations: 382.9 kB / 436.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.2447, allocations: 141.4 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.2449, allocations: 143.4 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.2451, allocations: 151.2 kB / 436.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.2451, allocations: 32 kB / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.2453, allocations: 67.91 kB / 436.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.2454, allocations: 79.75 kB / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.2455, allocations: 159.1 kB / 436.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.2461, allocations: 427.4 kB / 437.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2461, allocations: 0 / 437.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2461, allocations: 4 kB / 437.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2461, allocations: 4 kB / 437.2 MB, free: 1.297 MB / 334.1 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.001051/0.2471, allocations: 0.5636 MB / 437.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2472, allocations: 12.03 kB / 437.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.2472, allocations: 44.7 kB / 437.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.2477, allocations: 281.8 kB / 438.1 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2477, allocations: 17.03 kB / 438.1 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.2478, allocations: 28.38 kB / 438.2 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.2492, allocations: 0.7408 MB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.2492, allocations: 4 kB / 438.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2492, allocations: 12 kB / 438.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.2493, allocations: 8 kB / 438.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.2498, allocations: 211.8 kB / 439.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008562/0.2507, allocations: 0.719 MB / 439.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009953/0.2517, allocations: 457.4 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.2521, allocations: 251.8 kB / 440.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000402/0.2525, allocations: 71.66 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.2526, allocations: 42.56 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.714e-06/0.2526, allocations: 0 / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001248/0.2538, allocations: 0.5245 MB / 441.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.254, allocations: 207.9 kB / 441.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.2543, allocations: 253.8 kB / 441.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.2543, allocations: 33.81 kB / 441.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2544, allocations: 156.8 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.2545, allocations: 47.72 kB / 441.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.2546, allocations: 82.19 kB / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2548, allocations: 350.8 kB / 442.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.255, allocations: 88.88 kB / 442.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.2554, allocations: 434 kB / 442.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006683/0.2561, allocations: 0.5242 MB / 443.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2561, allocations: 4 kB / 443.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008101/0.2569, allocations: 0.4974 MB / 443.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2569, allocations: 8 kB / 443.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.2569, allocations: 12 kB / 443.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.257, allocations: 16 kB / 443.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.2573, allocations: 123.8 kB / 444 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.2573, allocations: 19.94 kB / 444 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.2576, allocations: 52.06 kB / 444.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.2576, allocations: 36 kB / 444.1 MB, free: 9.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (61): * Single equations (assignments): 61 * 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.0001913/0.2578, allocations: 183.2 kB / 444.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000655/0.2585, allocations: 354.4 kB / 444.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007068/0.2592, allocations: 352.7 kB / 445 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.2592, allocations: 12.03 kB / 445 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2592, allocations: 0 / 445 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.2592, allocations: 7.984 kB / 445 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.2596, allocations: 308.2 kB / 445.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.2596, allocations: 0 / 445.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.26, allocations: 103.9 kB / 445.4 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.26, allocations: 4 kB / 445.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.26, allocations: 15.94 kB / 445.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.26, allocations: 12 kB / 445.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.26, allocations: 0 / 445.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.2614, allocations: 0.7747 MB / 446.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.2615, allocations: 43.67 kB / 446.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.2615, allocations: 19.98 kB / 446.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.2618, allocations: 19.98 kB / 446.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.2618, allocations: 11.92 kB / 446.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.2618, allocations: 16.06 kB / 446.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.262, allocations: 185.2 kB / 446.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.262, allocations: 0 / 446.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.2625, allocations: 79.89 kB / 446.6 MB, free: 7.25 MB / 350.1 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.0001658/0.2627, allocations: 123.2 kB / 446.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007159/0.2634, allocations: 357.4 kB / 447 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2634, allocations: 256 / 447 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.2635, allocations: 31.92 kB / 447.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/0.2645, allocations: 290.8 kB / 447.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.2659, allocations: 0.7557 MB / 448.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.2663, allocations: 0.8081 MB / 448.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.773e-05/0.2664, allocations: 39.28 kB / 448.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.2665, allocations: 27.44 kB / 449 MB, free: 4.754 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2665, allocations: 0 / 449 MB, free: 4.754 MB / 350.1 MB Notification: Performance of Templates: time 0.009957/0.2764, allocations: 4.994 MB / 454 MB, free: 15.8 MB / 366.1 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.779168006032705]