Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.001318/0.001318, allocations: 83.69 kB / 20.67 MB, free: 3.891 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.001424/0.001424, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.89/0.89, allocations: 177.2 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SynchronousMachines.SMPM_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.527e-05, allocations: 6.219 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.007699/0.007714, allocations: 9.16 MB / 333.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.01223, allocations: 3.306 MB / 337.1 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008344/0.01306, allocations: 75.5 kB / 337.1 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.01422, allocations: 0.7568 MB / 337.9 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.01569, allocations: 0.9313 MB / 338.8 MB, free: 1.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.01624, allocations: 423.2 kB / 339.2 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001766/0.018, allocations: 2.865 MB / 342.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.01915, allocations: 1.305 MB / 343.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.02066, allocations: 1.895 MB / 345.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.0218, allocations: 1.356 MB / 346.7 MB, free: 9.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.02208, allocations: 332 kB / 347 MB, free: 9.383 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.02254, allocations: 447.7 kB / 347.4 MB, free: 8.945 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005492/0.02309, allocations: 0.9816 MB / 348.4 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007147/0.02381, allocations: 1.029 MB / 349.4 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.02649, allocations: 4.448 MB / 353.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.02649, allocations: 4 kB / 353.9 MB, free: 2.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0265, allocations: 0 / 353.9 MB, free: 2.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.265e-05/0.02657, allocations: 4 kB / 353.9 MB, free: 2.461 MB / 314.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.004068/0.03064, allocations: 3.03 MB / 356.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.03067, allocations: 12.03 kB / 356.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002767/0.03095, allocations: 325 kB / 357.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005082/0.03146, allocations: 331 kB / 357.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.03319, allocations: 1.562 MB / 359.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/0.03327, allocations: 168.8 kB / 359.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.03349, allocations: 228.1 kB / 359.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.03693, allocations: 3.017 MB / 362.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.03697, allocations: 4 kB / 362.5 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.03711, allocations: 91.98 kB / 362.6 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-05/0.03719, allocations: 120.3 kB / 362.7 MB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.04015, allocations: 2.43 MB / 365.2 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008056/0.0482, allocations: 8.16 MB / 373.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.04975, allocations: 1.183 MB / 374.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.05077, allocations: 0.9325 MB / 375.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001496/0.05092, allocations: 48.95 kB / 375.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.05094, allocations: 47.5 kB / 375.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=105): time 2.425e-06/0.05095, allocations: 0 / 375.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.007708/0.05865, allocations: 6.053 MB / 381.6 MB, free: 6.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.05869, allocations: 68.39 kB / 381.7 MB, free: 6.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.06024, allocations: 1.589 MB / 383.2 MB, free: 4.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.06029, allocations: 49.64 kB / 383.3 MB, free: 4.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/0.0608, allocations: 1.138 MB / 384.4 MB, free: 3.301 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.06101, allocations: 444.2 kB / 384.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.06126, allocations: 271.5 kB / 385.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.06133, allocations: 305.1 kB / 385.4 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.06206, allocations: 0.7066 MB / 386.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008968/0.06296, allocations: 1.142 MB / 387.3 MB, free: 272 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.06498, allocations: 1.967 MB / 389.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.06498, allocations: 4 kB / 389.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.002452/0.06743, allocations: 2.452 MB / 391.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.06745, allocations: 8 kB / 391.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.06747, allocations: 19.94 kB / 391.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.06803, allocations: 419.3 kB / 392.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.06867, allocations: 347.5 kB / 392.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/0.07305, allocations: 6.772 MB / 399.2 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.07363, allocations: 107.8 kB / 399.4 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.0737, allocations: 60 kB / 399.4 MB, free: 3.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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.0007392/0.07444, allocations: 0.7187 MB / 400.1 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.0746, allocations: 182.8 kB / 400.3 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.0768, allocations: 2.119 MB / 402.4 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.07681, allocations: 16.08 kB / 402.4 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.07681, allocations: 4 kB / 402.4 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.07682, allocations: 11.97 kB / 402.5 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/0.08156, allocations: 4.403 MB / 406.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.08156, allocations: 7.938 kB / 406.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.08203, allocations: 223.7 kB / 407.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/0.08266, allocations: 451.3 kB / 407.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/0.08272, allocations: 43.91 kB / 407.6 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/0.0879, allocations: 8.211 MB / 415.8 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.08791, allocations: 4 kB / 415.8 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/0.0913, allocations: 3.124 MB / 418.9 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000533/0.09183, allocations: 330.7 kB / 419.2 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.09196, allocations: 35.92 kB / 419.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.09243, allocations: 87.91 kB / 419.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.09258, allocations: 112.6 kB / 419.5 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.09263, allocations: 36 kB / 419.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.09368, allocations: 1.078 MB / 420.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.09368, allocations: 0 / 420.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001071/0.09475, allocations: 487.9 kB / 421.1 MB, free: 13.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (107): * Single equations (assignments): 103 * 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.003567/0.09831, allocations: 3.769 MB / 424.8 MB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.1005, allocations: 2.156 MB / 427 MB, free: 7.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1005, allocations: 4.062 kB / 427 MB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.1018, allocations: 1.418 MB / 428.4 MB, free: 5.703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.103, allocations: 486.5 kB / 428.9 MB, free: 5.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/0.1225, allocations: 17.7 MB / 446.6 MB, free: 2.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.1235, allocations: 1.306 MB / 447.9 MB, free: 1.473 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007586/0.1243, allocations: 390.8 kB / 448.3 MB, free: 1.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/0.125, allocations: 0.8791 MB / 449.1 MB, free: 212 kB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.125, allocations: 0 / 449.1 MB, free: 212 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1735/0.2985, allocations: 48.56 MB / 497.7 MB, free: 74.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.284, allocations: 19.3 kB / 497.7 MB, free: 74.34 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_Inverter.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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: 11.204496777616441]