Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001764/0.001764, allocations: 74.56 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.002044/0.002044, allocations: 151 kB / 24.49 MB, free: 3.727 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.402/1.402, 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.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 43.34 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.09029, allocations: 52.17 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009572/0.09986, allocations: 7.045 MB / 378.6 MB, free: 252 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00459/0.1045, allocations: 2.439 MB / 381.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.1051, allocations: 23.94 kB / 381.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1065, allocations: 488.9 kB / 381.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009604/0.1075, allocations: 432.8 kB / 382 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.108, allocations: 219.7 kB / 382.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1094, allocations: 1.233 MB / 383.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005746/0.11, allocations: 338.5 kB / 383.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006182/0.1106, allocations: 0.498 MB / 384.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006509/0.1113, allocations: 449.8 kB / 384.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.1114, allocations: 112 kB / 384.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.1117, allocations: 148 kB / 385 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.1119, allocations: 243.1 kB / 385.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.1124, allocations: 469.9 kB / 385.7 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.1141, allocations: 1.479 MB / 387.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1141, allocations: 0 / 387.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1141, allocations: 0 / 387.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.1141, allocations: 0 / 387.1 MB, free: 7.68 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002342/0.1165, allocations: 1.26 MB / 388.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1165, allocations: 12.03 kB / 388.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005486/0.1171, allocations: 152.2 kB / 388.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.1182, allocations: 0.5803 MB / 389.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.1183, allocations: 62.38 kB / 389.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.1184, allocations: 91.89 kB / 389.3 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.1199, allocations: 0.8725 MB / 390.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.12, allocations: 4 kB / 390.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.12, allocations: 40 kB / 390.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.12, allocations: 20 kB / 390.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.1212, allocations: 0.5387 MB / 390.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00422/0.1254, allocations: 2.963 MB / 393.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.126, allocations: 226.6 kB / 393.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.1262, allocations: 112.8 kB / 394.1 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1263, allocations: 4 kB / 394.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1263, allocations: 34.56 kB / 394.1 MB, free: 424 kB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.863e-06/0.1263, allocations: 0 / 394.1 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002198/0.1285, allocations: 0.9198 MB / 395 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.1286, allocations: 81.11 kB / 395.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009278/0.1295, allocations: 0.6953 MB / 395.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1295, allocations: 33.69 kB / 395.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.13, allocations: 0.5381 MB / 396.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/0.13, allocations: 111.1 kB / 396.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.1302, allocations: 130.2 kB / 396.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1304, allocations: 370.8 kB / 397 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.1307, allocations: 129.2 kB / 397.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.1313, allocations: 468.2 kB / 397.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000945/0.1322, allocations: 0.6218 MB / 398.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1322, allocations: 3.938 kB / 398.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001186/0.1334, allocations: 0.6343 MB / 398.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1335, allocations: 10.81 kB / 398.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.1335, allocations: 12.88 kB / 398.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.1336, allocations: 44.78 kB / 398.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.1341, allocations: 147.7 kB / 399 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1353, allocations: 1.264 MB / 400.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.1358, allocations: 44.09 kB / 400.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.1358, allocations: 32 kB / 400.4 MB, free: 9.648 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003818/0.1362, allocations: 245.5 kB / 400.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1363, allocations: 75.53 kB / 400.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.137, allocations: 321 kB / 401 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.137, allocations: 4 kB / 401 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.137, allocations: 4 kB / 401 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.137, allocations: 3.984 kB / 401 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.1386, allocations: 0.9142 MB / 401.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1386, allocations: 4 kB / 401.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.1389, allocations: 68.06 kB / 402 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-05/0.139, allocations: 24.84 kB / 402 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.139, allocations: 8.047 kB / 402 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.14, allocations: 1.24 MB / 403.2 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.14, allocations: 4.031 kB / 403.3 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009688/0.141, allocations: 0.573 MB / 403.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.1412, allocations: 95.56 kB / 403.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.821e-05/0.1413, allocations: 8 kB / 403.9 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.1416, allocations: 23.91 kB / 403.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.1417, allocations: 31.84 kB / 404 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.1417, allocations: 20 kB / 404 MB, free: 5.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006366/0.1423, allocations: 463 kB / 404.5 MB, free: 5.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1423, allocations: 0 / 404.5 MB, free: 5.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007107/0.143, allocations: 175.9 kB / 404.6 MB, free: 5.145 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002028/0.1432, allocations: 111.2 kB / 404.7 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009644/0.1442, allocations: 476.6 kB / 405.2 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1442, allocations: 0 / 405.2 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004605/0.1447, allocations: 237.5 kB / 405.4 MB, free: 4.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.1456, allocations: 171.5 kB / 405.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.1479, allocations: 1.477 MB / 407.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.1483, allocations: 365 kB / 407.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.1486, allocations: 93.55 kB / 407.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1487, allocations: 44.5 kB / 407.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1487, allocations: 0 / 407.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of Templates: time 0.01668/0.1654, allocations: 8.274 MB / 415.8 MB, free: 10 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.824842527974397]