Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.001501/0.001501, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.001557/0.001557, allocations: 205.7 kB / 22.12 MB, free: 0.9609 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.346/1.346, allocations: 207.6 MB / 232.5 MB, free: 3.949 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.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 56.56 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09803, allocations: 49.12 MB / 392.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009649/0.1077, allocations: 7.133 MB / 399.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00452/0.1122, allocations: 2.396 MB / 401.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009836/0.1132, allocations: 19.94 kB / 401.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.115, allocations: 0.5243 MB / 402.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.1164, allocations: 409 kB / 402.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.117, allocations: 203.7 kB / 402.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.1189, allocations: 1.206 MB / 404 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007306/0.1196, allocations: 344 kB / 404.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.1205, allocations: 478.1 kB / 404.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006417/0.1211, allocations: 0.49 MB / 405.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.1212, allocations: 112 kB / 405.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.1215, allocations: 152 kB / 405.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.1217, allocations: 227.2 kB / 405.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.1222, allocations: 0.5404 MB / 406.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.1239, allocations: 1.44 MB / 407.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1239, allocations: 0 / 407.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1239, allocations: 0 / 407.8 MB, free: 8.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1239, allocations: 0 / 407.8 MB, free: 8.984 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002095/0.126, allocations: 1.281 MB / 409 MB, free: 7.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.126, allocations: 12.03 kB / 409 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.476e-05/0.1261, allocations: 22.19 kB / 409.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.1262, allocations: 127.1 kB / 409.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004908/0.1267, allocations: 152.1 kB / 409.3 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.1278, allocations: 0.65 MB / 410 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.1279, allocations: 58.38 kB / 410 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.128, allocations: 83.94 kB / 410.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.1293, allocations: 0.7793 MB / 410.9 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.1293, allocations: 11.95 kB / 410.9 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/0.1294, allocations: 32 kB / 411 MB, free: 5.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.1294, allocations: 20 kB / 411 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1305, allocations: 0.5191 MB / 411.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.1346, allocations: 3.369 MB / 414.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.1352, allocations: 222.5 kB / 415.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.1354, allocations: 104.8 kB / 415.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.1354, allocations: 4 kB / 415.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1355, allocations: 30.56 kB / 415.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.1355, allocations: 8 kB / 415.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002104/0.1376, allocations: 1.059 MB / 416.3 MB, free: 28 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.1376, allocations: 89.05 kB / 416.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009459/0.1386, allocations: 0.7388 MB / 417.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.1386, allocations: 29.7 kB / 417.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.139, allocations: 0.4996 MB / 417.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.553e-05/0.1391, allocations: 115.1 kB / 417.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1392, allocations: 118.2 kB / 417.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1394, allocations: 374.7 kB / 418.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.1397, allocations: 129.2 kB / 418.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.1402, allocations: 418.1 kB / 418.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008051/0.1411, allocations: 0.5754 MB / 419.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1411, allocations: 0 / 419.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001072/0.1421, allocations: 0.6153 MB / 420 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1422, allocations: 8 kB / 420 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.1422, allocations: 12 kB / 420 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.1423, allocations: 32.84 kB / 420 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.1428, allocations: 143.7 kB / 420.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.144, allocations: 1.39 MB / 421.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.1444, allocations: 44.12 kB / 421.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.1444, allocations: 28 kB / 421.6 MB, free: 10.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0003245/0.1448, allocations: 237.5 kB / 421.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.1449, allocations: 71.53 kB / 421.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/0.1456, allocations: 325.4 kB / 422.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1456, allocations: 0 / 422.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1456, allocations: 4 kB / 422.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1456, allocations: 0 / 422.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.1472, allocations: 1.098 MB / 423.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.1472, allocations: 4 kB / 423.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/0.1475, allocations: 59.91 kB / 423.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.152e-05/0.1476, allocations: 21.06 kB / 423.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.1476, allocations: 12 kB / 423.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.1486, allocations: 1.371 MB / 424.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.1486, allocations: 8.016 kB / 424.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.1495, allocations: 0.5609 MB / 425.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.1498, allocations: 176.6 kB / 425.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.1498, allocations: 12 kB / 425.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.1501, allocations: 27.91 kB / 425.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/0.1502, allocations: 23.92 kB / 425.6 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1502, allocations: 8 kB / 425.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00066/0.1509, allocations: 0.499 MB / 426.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1509, allocations: 4 kB / 426.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006577/0.1515, allocations: 156 kB / 426.3 MB, free: 5.254 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 (27): * Single equations (assignments): 26 * 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.00132/0.1529, allocations: 1.121 MB / 427.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.1538, allocations: 452.1 kB / 427.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1538, allocations: 0 / 427.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.1542, allocations: 230.5 kB / 428 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000907/0.1551, allocations: 188.1 kB / 428.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/0.1638, allocations: 6.282 MB / 434.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/0.1644, allocations: 0.9449 MB / 435.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.1647, allocations: 85.97 kB / 435.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.1651, allocations: 307.3 kB / 435.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1651, allocations: 0 / 435.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0472/0.2123, allocations: 15.58 MB / 451.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.23, allocations: 11.91 kB / 451.4 MB, free: 11.49 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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.654237985028885]