Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001789/0.001789, allocations: 116 kB / 18.45 MB, free: 4.625 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.002088/0.002088, allocations: 194.9 kB / 21.4 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.6 MB / 231.8 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 51.92 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1053, allocations: 49.13 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01007/0.1154, allocations: 7.953 MB / 399.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00467/0.1201, allocations: 2.622 MB / 402 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/0.1208, allocations: 19.94 kB / 402 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.1222, allocations: 0.532 MB / 402.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.1234, allocations: 428.8 kB / 402.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.1239, allocations: 223.6 kB / 403.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1255, allocations: 1.233 MB / 404.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006279/0.1261, allocations: 374 kB / 404.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006829/0.1268, allocations: 490 kB / 405.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006746/0.1275, allocations: 0.5134 MB / 405.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.1276, allocations: 120 kB / 405.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.1279, allocations: 156 kB / 406 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.1281, allocations: 235.1 kB / 406.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005729/0.1287, allocations: 0.5637 MB / 406.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.1305, allocations: 1.463 MB / 408.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1305, allocations: 3.938 kB / 408.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1305, allocations: 0 / 408.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.1305, allocations: 0 / 408.3 MB, free: 7.758 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002422/0.133, allocations: 1.331 MB / 409.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.133, allocations: 16.03 kB / 409.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000159/0.1332, allocations: 131.5 kB / 409.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005016/0.1337, allocations: 160.1 kB / 409.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.1349, allocations: 0.6499 MB / 410.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/0.1349, allocations: 66.12 kB / 410.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.1351, allocations: 87.95 kB / 410.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.1364, allocations: 0.8184 MB / 411.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.1365, allocations: 3.984 kB / 411.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.1365, allocations: 32 kB / 411.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.1366, allocations: 24 kB / 411.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1376, allocations: 0.5426 MB / 412.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004711/0.1423, allocations: 3.556 MB / 415.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.1429, allocations: 234.6 kB / 415.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.1431, allocations: 108.8 kB / 416 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1432, allocations: 7.906 kB / 416 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1432, allocations: 38.56 kB / 416.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.1432, allocations: 3.938 kB / 416.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002164/0.1454, allocations: 1.09 MB / 417.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.1455, allocations: 85.05 kB / 417.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.1465, allocations: 0.7547 MB / 418 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1465, allocations: 29.7 kB / 418 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.147, allocations: 0.5306 MB / 418.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1471, allocations: 115.1 kB / 418.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.1472, allocations: 126.2 kB / 418.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.1475, allocations: 386.7 kB / 419.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.1478, allocations: 133.2 kB / 419.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.1483, allocations: 446.2 kB / 419.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.1492, allocations: 0.6141 MB / 420.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1492, allocations: 8 kB / 420.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001178/0.1504, allocations: 0.6426 MB / 421 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.1505, allocations: 15.84 kB / 421 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.1505, allocations: 12 kB / 421 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.1506, allocations: 32.78 kB / 421.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.1511, allocations: 155.7 kB / 421.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.1523, allocations: 1.386 MB / 422.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.1528, allocations: 48.08 kB / 422.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.1529, allocations: 32 kB / 422.7 MB, free: 8.387 MB / 350.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.0003385/0.1532, allocations: 249.4 kB / 422.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.1534, allocations: 79.48 kB / 423 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/0.1542, allocations: 334 kB / 423.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1542, allocations: 0 / 423.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1542, allocations: 7.938 kB / 423.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.1542, allocations: 0 / 423.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.156, allocations: 1.114 MB / 424.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.156, allocations: 0 / 424.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.1563, allocations: 67.89 kB / 424.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.69e-05/0.1564, allocations: 25.06 kB / 424.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1565, allocations: 8 kB / 424.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.1576, allocations: 1.375 MB / 425.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1576, allocations: 0 / 425.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1587, allocations: 0.5807 MB / 426.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.159, allocations: 176.6 kB / 426.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.1591, allocations: 12 kB / 426.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.1594, allocations: 19.98 kB / 426.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.1595, allocations: 28 kB / 426.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1595, allocations: 4 kB / 426.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007308/0.1602, allocations: 0.5263 MB / 427.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1602, allocations: 0 / 427.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007124/0.1609, allocations: 172 kB / 427.4 MB, free: 3.336 MB / 350.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.001569/0.1625, allocations: 1.141 MB / 428.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.1636, allocations: 468 kB / 429 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1636, allocations: 0 / 429 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.164, allocations: 243.8 kB / 429.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/0.1649, allocations: 183.2 kB / 429.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009733/0.1747, allocations: 6.524 MB / 436 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/0.1754, allocations: 0.9487 MB / 436.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.1757, allocations: 94.17 kB / 437 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.1761, allocations: 315.3 kB / 437.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.1761, allocations: 3.938 kB / 437.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05181/0.2279, allocations: 16.19 MB / 453.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.19, allocations: 8 kB / 453.5 MB, free: 8.629 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.769139457959682]