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.00137/0.00137, allocations: 74.64 kB / 21.24 MB, free: 0.5469 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.001377/0.001377, allocations: 151.2 kB / 24.48 MB, free: 3.73 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.365/1.365, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 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 0.001517/0.001517, allocations: 46.89 kB / 319.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08935, allocations: 52.17 MB / 371.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004165/0.09351, allocations: 2.547 MB / 374.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.09506, allocations: 0.8688 MB / 375 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.09524, allocations: 15.88 kB / 375 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.09544, allocations: 63.33 kB / 375 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.09566, allocations: 63.52 kB / 375.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.09628, allocations: 235.1 kB / 375.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.0967, allocations: 371 kB / 375.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.09695, allocations: 137.3 kB / 375.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.09712, allocations: 139.4 kB / 376 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.09731, allocations: 139.2 kB / 376.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.09736, allocations: 32 kB / 376.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.09749, allocations: 71.97 kB / 376.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.0976, allocations: 83.69 kB / 376.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.09773, allocations: 123.3 kB / 376.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.09822, allocations: 434.1 kB / 376.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.09822, allocations: 0 / 376.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.09822, allocations: 0 / 376.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.09823, allocations: 0 / 376.8 MB, free: 2.066 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.001024/0.09925, allocations: 0.5675 MB / 377.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.09928, allocations: 11.97 kB / 377.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.09937, allocations: 44.66 kB / 377.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.09982, allocations: 274 kB / 377.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.09985, allocations: 21.03 kB / 377.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.09989, allocations: 28.38 kB / 377.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.1013, allocations: 0.7887 MB / 378.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1013, allocations: 3.984 kB / 378.6 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.1013, allocations: 20 kB / 378.6 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1013, allocations: 11.94 kB / 378.6 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.1019, allocations: 211.8 kB / 378.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.1027, allocations: 0.5988 MB / 379.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1038, allocations: 473.1 kB / 379.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.1043, allocations: 247.7 kB / 380.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/0.1046, allocations: 63.94 kB / 380.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.1047, allocations: 50.44 kB / 380.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.884e-06/0.1047, allocations: 0 / 380.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001266/0.106, allocations: 0.5244 MB / 380.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.1061, allocations: 215.7 kB / 381 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1064, allocations: 249.9 kB / 381.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.1064, allocations: 33.7 kB / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1065, allocations: 152.8 kB / 381.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.1066, allocations: 51.78 kB / 381.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1067, allocations: 82.19 kB / 381.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1069, allocations: 342.8 kB / 381.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.1071, allocations: 93.06 kB / 381.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.1076, allocations: 485.5 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.1083, allocations: 0.5242 MB / 382.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.1083, allocations: 4 kB / 382.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008106/0.1091, allocations: 0.4942 MB / 383.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1091, allocations: 12.06 kB / 383.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.1091, allocations: 12 kB / 383.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.1092, allocations: 16.05 kB / 383.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.1095, allocations: 127.7 kB / 383.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.1095, allocations: 19.94 kB / 383.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.1098, allocations: 55.77 kB / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.1098, allocations: 32 kB / 383.7 MB, free: 10.55 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.0002135/0.11, allocations: 193.5 kB / 383.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006764/0.1107, allocations: 354.2 kB / 384.2 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007176/0.1114, allocations: 356.5 kB / 384.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1114, allocations: 8 kB / 384.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1114, allocations: 0 / 384.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.1115, allocations: 7.984 kB / 384.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.1118, allocations: 213 kB / 384.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/0.1118, allocations: 4 kB / 384.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.1122, allocations: 99.88 kB / 384.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1122, allocations: 3.938 kB / 384.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.1123, allocations: 12 kB / 384.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1123, allocations: 4 kB / 384.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1123, allocations: 0 / 384.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.1136, allocations: 0.7768 MB / 385.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1137, allocations: 43.66 kB / 385.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.1137, allocations: 23.88 kB / 385.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.114, allocations: 27.97 kB / 385.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.114, allocations: 0 / 385.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.114, allocations: 24.05 kB / 385.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1142, allocations: 185.2 kB / 386 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1142, allocations: 0 / 386 MB, free: 8.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005082/0.1147, allocations: 72 kB / 386.1 MB, free: 8.102 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.0001828/0.1149, allocations: 127 kB / 386.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007359/0.1156, allocations: 353.2 kB / 386.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1156, allocations: 0.875 kB / 386.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1157, allocations: 32.06 kB / 386.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.1168, allocations: 286.9 kB / 386.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.1182, allocations: 0.7637 MB / 387.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1184, allocations: 206.5 kB / 387.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1186, allocations: 39.27 kB / 387.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.1186, allocations: 32.5 kB / 387.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1186, allocations: 4 kB / 387.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of Templates: time 0.01005/0.1287, allocations: 5.089 MB / 393 MB, free: 1.195 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 -s ida -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: 4.333400647039525]