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.001507/0.001507, allocations: 71.59 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.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.001796/0.001796, allocations: 159.2 kB / 24.5 MB, free: 3.723 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.441/1.441, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.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.001573/0.001573, allocations: 59.81 kB / 325.5 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/0.09485, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004073/0.09892, allocations: 2.555 MB / 381.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1006, allocations: 0.8999 MB / 382.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1008, allocations: 15.81 kB / 382.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.101, allocations: 67.38 kB / 382.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.1013, allocations: 71.44 kB / 382.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.1019, allocations: 235.4 kB / 382.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.1024, allocations: 374.9 kB / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.1027, allocations: 129.4 kB / 383.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1028, allocations: 151.4 kB / 383.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.103, allocations: 131.2 kB / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.1031, allocations: 32 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1032, allocations: 67.91 kB / 383.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1033, allocations: 83.69 kB / 383.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.1035, allocations: 127.3 kB / 383.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.104, allocations: 422.1 kB / 384.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.104, allocations: 3.938 kB / 384.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.104, allocations: 0 / 384.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.104, allocations: 0 / 384.2 MB, free: 10.33 MB / 350.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.001048/0.105, allocations: 0.5753 MB / 384.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1051, allocations: 16.02 kB / 384.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.404e-05/0.1052, allocations: 40.7 kB / 384.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.1056, allocations: 273.9 kB / 385.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.1056, allocations: 17.03 kB / 385.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.1057, allocations: 36.38 kB / 385.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.1071, allocations: 0.7885 MB / 385.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1072, allocations: 7.938 kB / 386 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.1072, allocations: 12 kB / 386 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1072, allocations: 8 kB / 386 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.1078, allocations: 215.8 kB / 386.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.1086, allocations: 0.6065 MB / 386.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1097, allocations: 457.3 kB / 387.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.1102, allocations: 247 kB / 387.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.1106, allocations: 79.69 kB / 387.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1107, allocations: 42.5 kB / 387.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.214e-06/0.1107, allocations: 0 / 387.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.00126/0.1119, allocations: 0.5166 MB / 388.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.1121, allocations: 211.9 kB / 388.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.1124, allocations: 245.9 kB / 388.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.1124, allocations: 41.64 kB / 388.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1125, allocations: 156.8 kB / 388.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.1126, allocations: 47.78 kB / 388.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1127, allocations: 82.19 kB / 388.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1129, allocations: 347 kB / 389.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.1131, allocations: 96.83 kB / 389.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.1136, allocations: 485.5 kB / 389.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007025/0.1143, allocations: 0.5242 MB / 390.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.1144, allocations: 4 kB / 390.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008562/0.1152, allocations: 0.4938 MB / 390.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.1152, allocations: 18.8 kB / 390.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.1152, allocations: 12 kB / 390.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.1153, allocations: 16 kB / 390.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.1156, allocations: 115.8 kB / 391 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.1156, allocations: 23.92 kB / 391 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.1159, allocations: 51.77 kB / 391 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.116, allocations: 28 kB / 391.1 MB, free: 2.824 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.0002282/0.1162, allocations: 193.6 kB / 391.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006857/0.1169, allocations: 350 kB / 391.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007367/0.1176, allocations: 352.8 kB / 391.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.1176, allocations: 8 kB / 392 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1176, allocations: 0 / 392 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1176, allocations: 4.469 kB / 392 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.118, allocations: 220.9 kB / 392.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.118, allocations: 0 / 392.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.1184, allocations: 103.8 kB / 392.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.1184, allocations: 7.938 kB / 392.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.1185, allocations: 15.98 kB / 392.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1185, allocations: 4 kB / 392.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1185, allocations: 0 / 392.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.1199, allocations: 0.7845 MB / 393.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.1199, allocations: 39.67 kB / 393.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.12, allocations: 19.92 kB / 393.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.1202, allocations: 23.98 kB / 393.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.1203, allocations: 11.98 kB / 393.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.1203, allocations: 20 kB / 393.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1205, allocations: 185.2 kB / 393.4 MB, free: 444 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1205, allocations: 0 / 393.4 MB, free: 444 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005561/0.1211, allocations: 71.95 kB / 393.5 MB, free: 372 kB / 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.0002034/0.1213, allocations: 127.1 kB / 393.6 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007672/0.122, allocations: 350.1 kB / 393.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.122, allocations: 0 / 393.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1221, allocations: 39.91 kB / 394 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.1232, allocations: 294.1 kB / 394.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1246, allocations: 0.7556 MB / 395 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.1248, allocations: 202.5 kB / 395.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.1249, allocations: 43.27 kB / 395.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.125, allocations: 28.5 kB / 395.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.125, allocations: 4 kB / 395.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01024/0.1353, allocations: 5.104 MB / 400.4 MB, free: 9.441 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 -s ida -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/jenkins1/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/jenkins1/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.5171868009492755]