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.00175/0.00175, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002036/0.002036, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.388/1.388, allocations: 207.6 MB / 235.3 MB, free: 9.988 MB / 190.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.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: 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.001776/0.001776, allocations: 48.2 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.237, allocations: 49.16 MB / 396.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.009759/0.2468, allocations: 10.37 MB / 406.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00619/0.253, allocations: 3.495 MB / 410.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.2546, allocations: 62.41 kB / 410.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.2569, allocations: 0.8286 MB / 411.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.26, allocations: 0.8928 MB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2612, allocations: 443.6 kB / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003697/0.2649, allocations: 2.763 MB / 415.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.2668, allocations: 1.322 MB / 416.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.2687, allocations: 1.285 MB / 417.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.2716, allocations: 1.621 MB / 419.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006299/0.2723, allocations: 334.8 kB / 419.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.2734, allocations: 444.2 kB / 420.2 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.2744, allocations: 0.9543 MB / 421.1 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001944/0.2764, allocations: 1.509 MB / 422.7 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.2816, allocations: 4.396 MB / 427.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2816, allocations: 1.312 kB / 427.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2816, allocations: 0 / 427.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001114/0.2817, allocations: 0 / 427.1 MB, free: 4.555 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.006825/0.2886, allocations: 3.046 MB / 430.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2886, allocations: 15.98 kB / 430.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000458/0.2891, allocations: 324.9 kB / 430.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000819/0.2899, allocations: 323 kB / 430.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.2929, allocations: 1.469 MB / 432.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.2931, allocations: 164.4 kB / 432.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/0.2935, allocations: 223.9 kB / 432.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005149/0.2986, allocations: 2.913 MB / 435.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-05/0.2987, allocations: 8 kB / 435.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002132/0.2989, allocations: 88 kB / 435.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.299, allocations: 116.3 kB / 435.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004436/0.3035, allocations: 2.43 MB / 438.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.319, allocations: 8.884 MB / 447 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.3213, allocations: 1.187 MB / 448.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.3232, allocations: 0.9131 MB / 449.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.3234, allocations: 60.89 kB / 449.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.3235, allocations: 43.56 kB / 449.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=105): time 2.725e-06/0.3235, allocations: 0 / 449.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01454/0.338, allocations: 6.036 MB / 455.3 MB, free: 7.867 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.3381, allocations: 64.41 kB / 455.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.3405, allocations: 1.561 MB / 456.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.3406, allocations: 45.7 kB / 456.9 MB, free: 6.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009433/0.3415, allocations: 1.142 MB / 458.1 MB, free: 5.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/0.3419, allocations: 448.2 kB / 458.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/0.3424, allocations: 275.5 kB / 458.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3425, allocations: 305.1 kB / 459.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.3438, allocations: 0.7066 MB / 459.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.3454, allocations: 1.139 MB / 460.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.3483, allocations: 1.968 MB / 462.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3483, allocations: 4 kB / 462.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004427/0.3528, allocations: 2.444 MB / 465.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.3528, allocations: 12 kB / 465.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.3528, allocations: 12 kB / 465.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.3538, allocations: 429.1 kB / 465.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.3551, allocations: 351.5 kB / 466.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007605/0.3627, allocations: 6.809 MB / 472.9 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.3641, allocations: 99.89 kB / 473 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.3642, allocations: 71.88 kB / 473.1 MB, free: 5.23 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.001348/0.3656, allocations: 0.7121 MB / 473.8 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.366, allocations: 182.8 kB / 474 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.37, allocations: 2.107 MB / 476.1 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.37, allocations: 12 kB / 476.1 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.37, allocations: 11.94 kB / 476.1 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.37, allocations: 3.984 kB / 476.1 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008533/0.3785, allocations: 4.654 MB / 480.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.3785, allocations: 4 kB / 480.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.3795, allocations: 220.2 kB / 481 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/0.3808, allocations: 467 kB / 481.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.3809, allocations: 31.98 kB / 481.5 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009252/0.3901, allocations: 8.261 MB / 489.8 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.3901, allocations: 7.938 kB / 489.8 MB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/0.3958, allocations: 3.152 MB / 492.9 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.3969, allocations: 322.7 kB / 493.2 MB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.3971, allocations: 39.98 kB / 493.3 MB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/0.3981, allocations: 83.91 kB / 493.4 MB, free: 264 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000257/0.3984, allocations: 104.7 kB / 493.5 MB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.721e-05/0.3985, allocations: 43.92 kB / 493.5 MB, free: 116 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001749/0.4002, allocations: 1.074 MB / 494.6 MB, free: 15.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4002, allocations: 0 / 494.6 MB, free: 15.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00203/0.4022, allocations: 491.9 kB / 495.1 MB, free: 14.56 MB / 414.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.006005/0.4082, allocations: 3.783 MB / 498.8 MB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003935/0.4122, allocations: 2.14 MB / 0.4892 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.4122, allocations: 4 kB / 0.4892 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00258/0.4148, allocations: 1.419 MB / 0.4906 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.4173, allocations: 489.6 kB / 0.4911 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0303/0.4476, allocations: 17.8 MB / 0.5085 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.4494, allocations: 1.871 MB / 0.5103 GB, free: 2.113 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001156/0.4505, allocations: 386.9 kB / 0.5107 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.4518, allocations: 0.8742 MB / 0.5115 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4518, allocations: 4 kB / 0.5115 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.5547, allocations: 46.7 MB / 0.5571 GB, free: 2.023 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15, allocations: 3.938 kB / 0.5571 GB, free: 2.02 MB / 478.1 MB " [Timeout remaining time 645] (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/jenkins1/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/jenkins1/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: 18.20668528999522]