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.001624/0.001624, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.002062/0.002062, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 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.449/1.449, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 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 0.001538/0.001538, allocations: 55.92 kB / 371.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2575, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004411/0.2619, allocations: 2.727 MB / 426.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2637, allocations: 0.9193 MB / 427.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.2639, allocations: 15.88 kB / 427.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.2642, allocations: 67.38 kB / 427.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.2644, allocations: 59.45 kB / 427.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.2653, allocations: 242.7 kB / 427.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.2658, allocations: 382.9 kB / 428.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.2661, allocations: 137.3 kB / 428.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.2663, allocations: 143.4 kB / 428.5 MB, free: 10 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.2666, allocations: 151.2 kB / 428.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.815e-05/0.2666, allocations: 32 kB / 428.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.2668, allocations: 71.97 kB / 428.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.2669, allocations: 83.73 kB / 428.9 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.2671, allocations: 159 kB / 429 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005482/0.2676, allocations: 419.5 kB / 429.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2676, allocations: 0 / 429.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2676, allocations: 0 / 429.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.2677, allocations: 3.984 kB / 429.4 MB, free: 9.105 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.001246/0.2689, allocations: 0.5714 MB / 430 MB, free: 8.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2689, allocations: 8.031 kB / 430 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2691, allocations: 44.66 kB / 430.1 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.2695, allocations: 273.9 kB / 430.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.2696, allocations: 21.03 kB / 430.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.2696, allocations: 28.38 kB / 430.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2711, allocations: 0.7488 MB / 431.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2711, allocations: 0 / 431.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.2711, allocations: 12 kB / 431.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2711, allocations: 4 kB / 431.1 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.2717, allocations: 223.8 kB / 431.4 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009586/0.2726, allocations: 0.7034 MB / 432.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.2737, allocations: 456.4 kB / 432.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/0.2742, allocations: 255.7 kB / 432.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004238/0.2746, allocations: 67.84 kB / 432.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.2746, allocations: 42.56 kB / 432.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.064e-06/0.2746, allocations: 7.938 kB / 432.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001232/0.2758, allocations: 0.5166 MB / 433.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/0.276, allocations: 223.7 kB / 433.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.2763, allocations: 253.8 kB / 433.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.2763, allocations: 29.7 kB / 433.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2764, allocations: 153 kB / 434 MB, free: 4.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.2765, allocations: 55.66 kB / 434.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2766, allocations: 82.19 kB / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2768, allocations: 346.8 kB / 434.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.277, allocations: 92.94 kB / 434.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.2774, allocations: 434.1 kB / 435 MB, free: 3.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006469/0.2781, allocations: 0.5281 MB / 435.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.2781, allocations: 4 kB / 435.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007939/0.2789, allocations: 497.8 kB / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.2789, allocations: 16 kB / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.2789, allocations: 12 kB / 436.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.279, allocations: 16 kB / 436.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.2793, allocations: 115.8 kB / 436.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.2793, allocations: 23.92 kB / 436.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.2796, allocations: 59.66 kB / 436.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.2796, allocations: 28 kB / 436.3 MB, free: 1.609 MB / 334.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.0002257/0.2798, allocations: 189.6 kB / 436.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/0.2805, allocations: 346.6 kB / 436.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.2812, allocations: 364.5 kB / 437.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.2812, allocations: 7.938 kB / 437.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.2812, allocations: 8 kB / 437.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.2812, allocations: 8.016 kB / 437.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.2816, allocations: 308.2 kB / 437.5 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.2816, allocations: 4 kB / 437.5 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.282, allocations: 99.88 kB / 437.6 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.282, allocations: 4 kB / 437.6 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.2821, allocations: 11.98 kB / 437.6 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2821, allocations: 0 / 437.6 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2821, allocations: 4 kB / 437.6 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.2834, allocations: 0.7788 MB / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.2835, allocations: 43.67 kB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.2835, allocations: 12 kB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2838, allocations: 31.97 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.2838, allocations: 3.984 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.2838, allocations: 19.94 kB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.284, allocations: 181.2 kB / 438.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.284, allocations: 4.062 kB / 438.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005584/0.2846, allocations: 75.94 kB / 438.8 MB, free: 15.04 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.000193/0.2848, allocations: 123.1 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007481/0.2855, allocations: 349.3 kB / 439.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2855, allocations: 0 / 439.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2856, allocations: 28.28 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.2867, allocations: 299 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.2882, allocations: 0.7927 MB / 440.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.2887, allocations: 0.812 MB / 441.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.2888, allocations: 35.42 kB / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2888, allocations: 0 / 441.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of Templates: time 0.007668/0.2964, allocations: 4.509 MB / 445.7 MB, free: 8.055 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/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/jenkins1/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: 7.553884478984401]