Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.001942/0.001942, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001685/0.001685, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 47.92 kB / 371.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2517, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.0134/0.2651, allocations: 10.42 MB / 434.3 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006731/0.2718, allocations: 3.443 MB / 437.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.2732, allocations: 75.5 kB / 437.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.2755, allocations: 0.8228 MB / 438.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.2783, allocations: 0.8893 MB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.2795, allocations: 435.3 kB / 440 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003775/0.2833, allocations: 2.754 MB / 442.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.2856, allocations: 1.352 MB / 444.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.2876, allocations: 1.297 MB / 445.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.2903, allocations: 1.611 MB / 447 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007463/0.2911, allocations: 340 kB / 447.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.2922, allocations: 447.8 kB / 447.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.2934, allocations: 0.9426 MB / 448.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002269/0.2957, allocations: 1.509 MB / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005443/0.3011, allocations: 4.394 MB / 454.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3011, allocations: 4 kB / 454.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3011, allocations: 0 / 454.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001251/0.3012, allocations: 0 / 454.6 MB, free: 15.78 MB / 366.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.007532/0.3088, allocations: 3.049 MB / 457.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3088, allocations: 8.031 kB / 457.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.3098, allocations: 331 kB / 458 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/0.3133, allocations: 1.559 MB / 459.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.3135, allocations: 164.4 kB / 459.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004156/0.3139, allocations: 223.9 kB / 459.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005615/0.3195, allocations: 2.917 MB / 462.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.804e-05/0.3196, allocations: 7.984 kB / 462.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.3198, allocations: 84 kB / 462.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.3199, allocations: 116.3 kB / 463 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004788/0.3247, allocations: 2.441 MB / 465.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.341, allocations: 8.872 MB / 474.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.3433, allocations: 1.184 MB / 475.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.3451, allocations: 0.9171 MB / 476.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.3454, allocations: 52.95 kB / 476.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.3454, allocations: 47.56 kB / 476.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 2.925e-06/0.3454, allocations: 384 / 476.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.0152/0.3606, allocations: 6.067 MB / 482.6 MB, free: 3.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3607, allocations: 64.41 kB / 482.7 MB, free: 3.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.3635, allocations: 1.565 MB / 484.2 MB, free: 1.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.3637, allocations: 45.7 kB / 484.3 MB, free: 1.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009727/0.3647, allocations: 1.134 MB / 485.4 MB, free: 400 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/0.3652, allocations: 456.2 kB / 485.9 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/0.3657, allocations: 279.5 kB / 486.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3658, allocations: 301.1 kB / 486.4 MB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.3672, allocations: 0.7144 MB / 487.2 MB, free: 14.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.3689, allocations: 1.138 MB / 488.3 MB, free: 13.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.372, allocations: 1.971 MB / 490.3 MB, free: 11.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.372, allocations: 4 kB / 490.3 MB, free: 11.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004776/0.3768, allocations: 2.444 MB / 492.7 MB, free: 8.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.3768, allocations: 12 kB / 492.7 MB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.3768, allocations: 12 kB / 492.7 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.3779, allocations: 430.8 kB / 493.2 MB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.3793, allocations: 355.4 kB / 493.5 MB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/0.3874, allocations: 6.81 MB / 0.4886 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.3888, allocations: 111.8 kB / 0.4887 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/0.389, allocations: 67.92 kB / 0.4888 GB, free: 0.5781 MB / 398.1 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.001401/0.3904, allocations: 0.7184 MB / 0.4895 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/0.3909, allocations: 182.8 kB / 0.4896 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.3953, allocations: 2.111 MB / 0.4917 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.3953, allocations: 15.98 kB / 0.4917 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.3953, allocations: 7.938 kB / 0.4917 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.3953, allocations: 3.984 kB / 0.4917 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009558/0.4049, allocations: 4.644 MB / 0.4963 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4049, allocations: 4 kB / 0.4963 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.4059, allocations: 228.1 kB / 0.4965 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.4072, allocations: 462.4 kB / 0.4969 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.4073, allocations: 31.98 kB / 0.4969 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009553/0.4169, allocations: 8.281 MB / 0.505 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.4169, allocations: 15.97 kB / 0.505 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/0.4227, allocations: 3.136 MB / 0.5081 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.4237, allocations: 326.7 kB / 0.5084 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/0.4241, allocations: 35.98 kB / 0.5085 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/0.4251, allocations: 79.91 kB / 0.5085 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.4253, allocations: 108.7 kB / 0.5086 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/0.4254, allocations: 36 kB / 0.5087 GB, free: 11.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002231/0.4276, allocations: 1.07 MB / 0.5097 GB, free: 10.42 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4276, allocations: 3.938 kB / 0.5097 GB, free: 10.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002729/0.4304, allocations: 488.1 kB / 0.5102 GB, free: 9.938 MB / 430.1 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.0005001/0.4309, allocations: 194.9 kB / 0.5104 GB, free: 9.738 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004243/0.4351, allocations: 2.156 MB / 0.5125 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4351, allocations: 8 kB / 0.5125 GB, free: 7.531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002564/0.4377, allocations: 1.422 MB / 0.5139 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.44, allocations: 478.5 kB / 0.5143 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008997/0.449, allocations: 4.821 MB / 0.519 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.451, allocations: 1.847 MB / 0.5208 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/0.4515, allocations: 127.4 kB / 0.521 GB, free: 14.69 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4515, allocations: 0 / 0.521 GB, free: 14.69 MB / 446.1 MB Notification: Performance of Templates: time 0.2375/0.6891, allocations: 74.09 MB / 0.5933 GB, free: 56.44 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.71944850613363]