Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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.001278/0.001278, allocations: 122.3 kB / 18.45 MB, free: 4.605 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.001291/0.001291, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.413/1.413, allocations: 207.6 MB / 231.8 MB, free: 4.223 MB / 174.1 MB " [Timeout remaining time 178] 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.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter",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.001712/0.001712, allocations: 51.92 kB / 342.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08941, allocations: 49.11 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01249/0.1019, allocations: 10.32 MB / 401.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.108, allocations: 3.494 MB / 405.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.1091, allocations: 51.75 kB / 405.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.1108, allocations: 0.8232 MB / 406.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.1129, allocations: 0.8737 MB / 406.9 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008414/0.1137, allocations: 431.3 kB / 407.4 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002965/0.1167, allocations: 2.763 MB / 410.1 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.1188, allocations: 1.687 MB / 411.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.1204, allocations: 1.261 MB / 413.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.1225, allocations: 1.611 MB / 414.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000426/0.1229, allocations: 339.9 kB / 415 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007094/0.1236, allocations: 439.8 kB / 415.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009432/0.1245, allocations: 0.9505 MB / 416.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.126, allocations: 1.509 MB / 417.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004509/0.1305, allocations: 4.398 MB / 422.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1305, allocations: 3.938 kB / 422.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1305, allocations: 0 / 422.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.943e-05/0.1306, allocations: 0 / 422.3 MB, free: 9.652 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005815/0.1364, allocations: 3.128 MB / 425.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1365, allocations: 12.03 kB / 425.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004027/0.1369, allocations: 321 kB / 425.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007433/0.1376, allocations: 327 kB / 426.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.1405, allocations: 1.545 MB / 427.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.1406, allocations: 164.4 kB / 427.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003406/0.1409, allocations: 227.9 kB / 428 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004711/0.1457, allocations: 2.913 MB / 430.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.639e-05/0.1457, allocations: 3.938 kB / 430.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.1459, allocations: 91.98 kB / 431 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.146, allocations: 116.3 kB / 431.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004239/0.1503, allocations: 2.43 MB / 433.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.1645, allocations: 9.038 MB / 442.6 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.1669, allocations: 1.639 MB / 444.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.1686, allocations: 0.9174 MB / 445.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.1689, allocations: 211.2 kB / 445.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.1689, allocations: 43.56 kB / 445.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of pre-optimization done (n=105): time 2.244e-06/0.1689, allocations: 0 / 445.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01387/0.1828, allocations: 6.563 MB / 452 MB, free: 11.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1828, allocations: 64.41 kB / 452 MB, free: 11.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.1854, allocations: 1.565 MB / 453.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.1855, allocations: 49.69 kB / 453.6 MB, free: 9.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009212/0.1864, allocations: 1.134 MB / 454.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.1868, allocations: 444.2 kB / 455.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004511/0.1872, allocations: 275.5 kB / 455.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1873, allocations: 305.1 kB / 455.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.1886, allocations: 0.7066 MB / 456.5 MB, free: 6.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.1902, allocations: 1.139 MB / 457.6 MB, free: 5.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.1932, allocations: 1.968 MB / 459.6 MB, free: 3.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.1932, allocations: 4 kB / 459.6 MB, free: 3.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004522/0.1977, allocations: 2.519 MB / 462.1 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1977, allocations: 12 kB / 462.1 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.1977, allocations: 12 kB / 462.1 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.1988, allocations: 431.3 kB / 462.6 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1515/0.3502, allocations: 342.7 kB / 462.9 MB, free: 62.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006004/0.3562, allocations: 7.117 MB / 470 MB, free: 58.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3575, allocations: 110.8 kB / 470.1 MB, free: 58.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.3576, allocations: 69.42 kB / 470.2 MB, free: 58.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001006/0.3586, allocations: 0.7212 MB / 470.9 MB, free: 57.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.3589, allocations: 181.5 kB / 471.1 MB, free: 57.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/0.3622, allocations: 2.176 MB / 473.3 MB, free: 56.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3622, allocations: 15.31 kB / 473.3 MB, free: 56.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.3622, allocations: 8.375 kB / 473.3 MB, free: 56.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.3622, allocations: 6 kB / 473.3 MB, free: 56.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006923/0.3691, allocations: 4.766 MB / 478.1 MB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3691, allocations: 4.844 kB / 478.1 MB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008611/0.37, allocations: 227.1 kB / 478.3 MB, free: 54.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009591/0.3709, allocations: 451.3 kB / 478.7 MB, free: 54.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.539e-05/0.371, allocations: 33.94 kB / 478.8 MB, free: 54.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005625/0.3767, allocations: 8.677 MB / 487.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.3767, allocations: 4.125 kB / 487.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/0.3806, allocations: 3.227 MB / 490.7 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006817/0.3813, allocations: 406.8 kB / 491.1 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.3815, allocations: 31.91 kB / 491.1 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/0.3823, allocations: 85.25 kB / 491.2 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.3825, allocations: 99.55 kB / 491.3 MB, free: 45.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.3826, allocations: 46.95 kB / 491.3 MB, free: 45.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.3838, allocations: 1.069 MB / 492.4 MB, free: 44.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3838, allocations: 0 / 492.4 MB, free: 44.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00135/0.3851, allocations: 488.7 kB / 492.9 MB, free: 44.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,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 (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,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.003877/0.389, allocations: 3.868 MB / 496.7 MB, free: 41.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.3918, allocations: 2.215 MB / 498.9 MB, free: 39.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3918, allocations: 4 kB / 499 MB, free: 39.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.3935, allocations: 1.425 MB / 0.4886 GB, free: 37.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.3953, allocations: 480.6 kB / 0.4891 GB, free: 37.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.4145, allocations: 17.93 MB / 0.5066 GB, free: 18.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.4157, allocations: 1.867 MB / 0.5084 GB, free: 16.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00103/0.4168, allocations: 390.9 kB / 0.5088 GB, free: 16.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009632/0.4177, allocations: 0.8703 MB / 0.5097 GB, free: 15.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4177, allocations: 4 kB / 0.5097 GB, free: 15.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0911/0.5088, allocations: 45.49 MB / 0.5541 GB, free: 2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.28, allocations: 11.94 kB / 0.5541 GB, free: 1.988 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.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: 17.990248032845557]