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.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.000986/0.000986, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006013/0.006013, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8583/0.8583, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 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.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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.916e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.13/0.13, allocations: 9.066 MB / 307.5 MB, free: 11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005378/0.1354, allocations: 3.296 MB / 310.8 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.1365, allocations: 63.12 kB / 310.9 MB, free: 8.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.138, allocations: 0.7649 MB / 311.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.1401, allocations: 0.916 MB / 312.6 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.1409, allocations: 438.2 kB / 313 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.1433, allocations: 2.859 MB / 315.8 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1446, allocations: 1.284 MB / 317.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.1467, allocations: 1.878 MB / 319 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.1482, allocations: 1.358 MB / 320.4 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004478/0.1487, allocations: 339.2 kB / 320.7 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.1493, allocations: 437.7 kB / 321.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006278/0.15, allocations: 0.9709 MB / 322.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009061/0.1509, allocations: 1.032 MB / 323.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.1537, allocations: 4.436 MB / 327.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1537, allocations: 1.156 kB / 327.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1537, allocations: 0 / 327.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.176e-05/0.1538, allocations: 0 / 327.6 MB, free: 15.52 MB / 298.7 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.005598/0.1594, allocations: 3.024 MB / 330.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1595, allocations: 13.36 kB / 330.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003887/0.1599, allocations: 323.1 kB / 330.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006035/0.1605, allocations: 331.1 kB / 331.2 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.1626, allocations: 1.453 MB / 332.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1627, allocations: 171.4 kB / 332.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.163, allocations: 224.2 kB / 333.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/0.1666, allocations: 3.021 MB / 336.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.1666, allocations: 0 / 336.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.1668, allocations: 91.98 kB / 336.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.001e-05/0.1668, allocations: 120.3 kB / 336.3 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/0.1698, allocations: 2.426 MB / 338.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009495/0.1793, allocations: 8.174 MB / 346.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.1807, allocations: 1.17 MB / 348.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/0.1818, allocations: 0.9249 MB / 349 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.182, allocations: 48.95 kB / 349 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.182, allocations: 53 kB / 349.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 2.795e-06/0.182, allocations: 0 / 349.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.008886/0.1909, allocations: 6.026 MB / 355.1 MB, free: 5.523 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.1909, allocations: 64.41 kB / 355.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.1928, allocations: 1.584 MB / 356.8 MB, free: 3.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/0.1929, allocations: 45.7 kB / 356.8 MB, free: 3.805 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/0.1935, allocations: 1.138 MB / 358 MB, free: 2.652 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.1937, allocations: 444.3 kB / 358.4 MB, free: 2.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.194, allocations: 271.5 kB / 358.7 MB, free: 1.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.1941, allocations: 301.1 kB / 359 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008166/0.1949, allocations: 0.7066 MB / 359.7 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/0.1959, allocations: 1.139 MB / 360.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.1978, allocations: 1.968 MB / 362.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.1978, allocations: 4 kB / 362.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.003173/0.2009, allocations: 2.444 MB / 365.2 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.201, allocations: 8 kB / 365.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.201, allocations: 23.92 kB / 365.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.2016, allocations: 415.4 kB / 365.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.2023, allocations: 353.4 kB / 366 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/0.2076, allocations: 6.762 MB / 372.8 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.2089, allocations: 107.8 kB / 372.9 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.209, allocations: 67.92 kB / 372.9 MB, free: 2.93 MB / 330.7 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.001116/0.2101, allocations: 0.716 MB / 373.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.2103, allocations: 174.9 kB / 373.8 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.2128, allocations: 2.103 MB / 375.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.2128, allocations: 12 kB / 375.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2128, allocations: 11.94 kB / 375.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2128, allocations: 3.984 kB / 375.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/0.218, allocations: 4.405 MB / 380.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.218, allocations: 7.938 kB / 380.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.2186, allocations: 215.7 kB / 380.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006805/0.2192, allocations: 463.3 kB / 381 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.2193, allocations: 31.98 kB / 381.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005139/0.2244, allocations: 8.224 MB / 389.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2244, allocations: 4 kB / 389.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003219/0.2277, allocations: 3.132 MB / 392.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/0.2283, allocations: 330.7 kB / 392.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.2285, allocations: 32 kB / 392.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.229, allocations: 87.89 kB / 392.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.2291, allocations: 104.7 kB / 393 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.2292, allocations: 39.98 kB / 393 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.2303, allocations: 1.07 MB / 394.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2303, allocations: 0 / 394.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001488/0.2318, allocations: 487.9 kB / 394.5 MB, free: 12.6 MB / 362.7 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.003961/0.2357, allocations: 3.775 MB / 398.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002689/0.2384, allocations: 2.152 MB / 400.5 MB, free: 6.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.2384, allocations: 0 / 400.5 MB, free: 6.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.2399, allocations: 1.427 MB / 401.9 MB, free: 5.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.2416, allocations: 477.7 kB / 402.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/0.2649, allocations: 17.73 MB / 420.1 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.266, allocations: 1.302 MB / 421.4 MB, free: 0.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009907/0.267, allocations: 386.9 kB / 421.8 MB, free: 420 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008675/0.2679, allocations: 0.8753 MB / 422.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2679, allocations: 0 / 422.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2003/0.4682, allocations: 48.44 MB / 471.1 MB, free: 137 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.709/9.177, allocations: 2.812 kB / 471.1 MB, free: 137 MB / 426.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] "Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv failed! Error: Could not read variable vfController.x in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv. Warning: Get data of variable vfController.x from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.22963064815849]