Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001355/0.001355, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.00152/0.00152, allocations: 160.1 kB / 24.5 MB, free: 3.715 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.436/1.436, allocations: 177.2 MB / 204.9 MB, free: 8.984 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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 46.94 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09161, allocations: 53.34 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00949/0.1011, allocations: 7.066 MB / 386 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004239/0.1053, allocations: 2.478 MB / 388.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.1058, allocations: 27.88 kB / 388.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.107, allocations: 485 kB / 389 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008608/0.1079, allocations: 424.8 kB / 389.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.1083, allocations: 227.6 kB / 389.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1096, allocations: 1.237 MB / 390.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005547/0.1102, allocations: 342.5 kB / 391.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006301/0.1108, allocations: 0.4942 MB / 391.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.1114, allocations: 457.6 kB / 392.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.1116, allocations: 112 kB / 392.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.1119, allocations: 164 kB / 392.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.1121, allocations: 239.1 kB / 392.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004905/0.1125, allocations: 466 kB / 393.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.1141, allocations: 1.471 MB / 394.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1141, allocations: 0 / 394.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1141, allocations: 3.938 kB / 394.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.1141, allocations: 0 / 394.5 MB, free: 15.91 MB / 366.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.002202/0.1163, allocations: 1.26 MB / 395.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1164, allocations: 12.03 kB / 395.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006774/0.1171, allocations: 180.2 kB / 396 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1181, allocations: 0.5804 MB / 396.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.1181, allocations: 62.38 kB / 396.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.1182, allocations: 91.94 kB / 396.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.1197, allocations: 0.8647 MB / 397.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.1197, allocations: 11.94 kB / 397.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.1198, allocations: 36 kB / 397.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.1198, allocations: 20 kB / 397.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1209, allocations: 0.5387 MB / 398.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/0.125, allocations: 2.936 MB / 401.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.1256, allocations: 222.7 kB / 401.3 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.1258, allocations: 121.3 kB / 401.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1258, allocations: 4 kB / 401.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1259, allocations: 30.56 kB / 401.5 MB, free: 8.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/0.1259, allocations: 0 / 401.5 MB, free: 8.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002107/0.128, allocations: 0.9296 MB / 402.4 MB, free: 7.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.128, allocations: 85.05 kB / 402.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.1289, allocations: 0.6992 MB / 403.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.129, allocations: 29.7 kB / 403.2 MB, free: 6.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.1294, allocations: 0.542 MB / 403.8 MB, free: 6.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.271e-05/0.1295, allocations: 107.1 kB / 403.9 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/0.1296, allocations: 126.2 kB / 404 MB, free: 6.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1298, allocations: 370.8 kB / 404.4 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.1301, allocations: 133.2 kB / 404.5 MB, free: 5.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.1307, allocations: 472.2 kB / 405 MB, free: 4.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.1316, allocations: 0.6177 MB / 405.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.1316, allocations: 4 kB / 405.6 MB, free: 4.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001171/0.1328, allocations: 0.6508 MB / 406.2 MB, free: 3.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1328, allocations: 8 kB / 406.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.1328, allocations: 16 kB / 406.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.1329, allocations: 36.78 kB / 406.3 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.1334, allocations: 151.7 kB / 406.4 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.1345, allocations: 1.256 MB / 407.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.135, allocations: 43.89 kB / 407.7 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.135, allocations: 32 kB / 407.8 MB, free: 1.855 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.0003202/0.1354, allocations: 241.5 kB / 408 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.1355, allocations: 71.56 kB / 408.1 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/0.1362, allocations: 329.1 kB / 408.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1362, allocations: 4 kB / 408.4 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1362, allocations: 0 / 408.4 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1362, allocations: 3.984 kB / 408.4 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.1378, allocations: 0.9252 MB / 409.3 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1378, allocations: 4 kB / 409.3 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.1381, allocations: 63.84 kB / 409.4 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/0.1382, allocations: 20.84 kB / 409.4 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.1382, allocations: 8 kB / 409.4 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.1392, allocations: 1.264 MB / 410.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1392, allocations: 7.875 kB / 410.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.1402, allocations: 0.5644 MB / 411.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.1404, allocations: 91.53 kB / 411.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.1405, allocations: 8 kB / 411.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.1408, allocations: 20.08 kB / 411.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.1409, allocations: 31.89 kB / 411.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1409, allocations: 8 kB / 411.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000652/0.1416, allocations: 467 kB / 411.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1416, allocations: 0 / 411.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006922/0.1423, allocations: 168 kB / 412 MB, free: 13.36 MB / 382.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.0001941/0.1424, allocations: 123.2 kB / 412.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009823/0.1434, allocations: 484.5 kB / 412.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1434, allocations: 0 / 412.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004158/0.1438, allocations: 235.8 kB / 412.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.1447, allocations: 174 kB / 413 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.1472, allocations: 1.478 MB / 414.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.1476, allocations: 361.1 kB / 414.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.1479, allocations: 89.55 kB / 414.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.148, allocations: 44.5 kB / 415 MB, free: 10.3 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.148, allocations: 4 kB / 415 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Templates: time 0.01683/0.1648, allocations: 8.288 MB / 423.3 MB, free: 2.184 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.643624507938512]