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.001546/0.001546, allocations: 113 kB / 18.45 MB, free: 4.602 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.001584/0.001584, allocations: 190.9 kB / 21.4 MB, free: 1.664 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.436/1.436, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.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.001503/0.001503, allocations: 43.91 kB / 366.8 MB, free: 416 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 52.15 MB / 418.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004441/0.1074, allocations: 2.699 MB / 421.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1093, allocations: 0.9154 MB / 422.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.1095, allocations: 15.94 kB / 422.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.1098, allocations: 55.39 kB / 422.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.1101, allocations: 63.45 kB / 422.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000797/0.1109, allocations: 238.8 kB / 422.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.1114, allocations: 382.8 kB / 423.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.1117, allocations: 136.8 kB / 423.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.1119, allocations: 139.4 kB / 423.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.1121, allocations: 151.2 kB / 423.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.1122, allocations: 32 kB / 423.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.1123, allocations: 71.95 kB / 423.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.1125, allocations: 83.69 kB / 423.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.1126, allocations: 163 kB / 424 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.1132, allocations: 418.2 kB / 424.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1132, allocations: 0 / 424.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1132, allocations: 0 / 424.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.1132, allocations: 3.938 kB / 424.5 MB, free: 6.617 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.001206/0.1144, allocations: 0.6427 MB / 425.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1145, allocations: 19.88 kB / 425.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.1146, allocations: 44.66 kB / 425.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.1151, allocations: 332.1 kB / 425.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1151, allocations: 20.94 kB / 425.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.1152, allocations: 28.38 kB / 425.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.1167, allocations: 0.7483 MB / 426.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1167, allocations: 0 / 426.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.1167, allocations: 12 kB / 426.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1168, allocations: 8 kB / 426.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.1174, allocations: 223.8 kB / 426.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.1184, allocations: 0.7799 MB / 427.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.1196, allocations: 0.5994 MB / 427.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.1201, allocations: 254.9 kB / 428.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007809/0.1209, allocations: 0.5895 MB / 428.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.121, allocations: 42.56 kB / 428.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 3.006e-06/0.121, allocations: 0 / 428.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001363/0.1223, allocations: 0.5166 MB / 429.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.1225, allocations: 223.7 kB / 429.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.1228, allocations: 250.6 kB / 429.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.1228, allocations: 37.7 kB / 429.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.123, allocations: 148.9 kB / 429.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.123, allocations: 51.7 kB / 430 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1231, allocations: 78.27 kB / 430.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1233, allocations: 346.8 kB / 430.4 MB, free: 156 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.1235, allocations: 89.06 kB / 430.5 MB, free: 68 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.124, allocations: 435 kB / 430.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.1247, allocations: 0.5323 MB / 431.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.1247, allocations: 4 kB / 431.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008568/0.1256, allocations: 0.4938 MB / 431.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.1256, allocations: 8 kB / 432 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.1256, allocations: 12 kB / 432 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.1257, allocations: 16 kB / 432 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.126, allocations: 123.8 kB / 432.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/0.126, allocations: 19.94 kB / 432.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1263, allocations: 55.77 kB / 432.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.1264, allocations: 32 kB / 432.2 MB, free: 14.01 MB / 366.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.0002648/0.1266, allocations: 193.7 kB / 432.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/0.1274, allocations: 350.5 kB / 432.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000766/0.1281, allocations: 352.9 kB / 433.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1281, allocations: 12 kB / 433.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1282, allocations: 3.984 kB / 433.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1282, allocations: 7.938 kB / 433.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.1286, allocations: 333.2 kB / 433.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.1286, allocations: 3.984 kB / 433.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.129, allocations: 99.88 kB / 433.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.129, allocations: 4 kB / 433.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.1291, allocations: 8 kB / 433.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1291, allocations: 4 kB / 433.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1291, allocations: 4 kB / 433.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.1304, allocations: 0.7788 MB / 434.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.1305, allocations: 124.8 kB / 434.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.1306, allocations: 16 kB / 434.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.1309, allocations: 27.97 kB / 434.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1309, allocations: 0 / 434.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.1309, allocations: 16 kB / 434.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.1311, allocations: 186 kB / 434.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1311, allocations: 0 / 434.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005375/0.1317, allocations: 83.88 kB / 434.8 MB, free: 11.33 MB / 366.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.0002125/0.1319, allocations: 127.1 kB / 434.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007795/0.1327, allocations: 353.3 kB / 435.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1327, allocations: 0.6875 kB / 435.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1328, allocations: 27.98 kB / 435.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.1339, allocations: 301.6 kB / 435.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1355, allocations: 0.7945 MB / 436.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.136, allocations: 0.812 MB / 437.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.1361, allocations: 27.44 kB / 437.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1361, allocations: 0 / 437.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of Templates: time 0.00825/0.1443, allocations: 4.517 MB / 441.7 MB, free: 4.32 MB / 366.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_2/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_2/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.547901008976623]