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.001322/0.001322, allocations: 80.67 kB / 20.68 MB, free: 1.035 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.001445/0.001445, allocations: 154.9 kB / 23.94 MB, free: 4.176 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.437/1.437, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 1.813e-06/1.813e-06, allocations: 0.6094 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.396e-05, allocations: 6.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01039/0.01041, allocations: 9.105 MB / 328 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006758/0.01717, allocations: 3.239 MB / 331.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000959/0.01813, allocations: 74.34 kB / 331.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.0199, allocations: 0.7677 MB / 332.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.0222, allocations: 0.9181 MB / 333 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.02321, allocations: 428.6 kB / 333.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003246/0.02646, allocations: 2.857 MB / 336.3 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.0283, allocations: 1.299 MB / 337.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.03082, allocations: 1.89 MB / 339.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.03287, allocations: 1.359 MB / 340.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.03332, allocations: 334.3 kB / 341.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008932/0.03421, allocations: 437 kB / 341.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.0353, allocations: 0.9738 MB / 342.6 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.03667, allocations: 1.029 MB / 343.6 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.04152, allocations: 4.444 MB / 348.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.04153, allocations: 0 / 348.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.04153, allocations: 0 / 348.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001071/0.04164, allocations: 0 / 348.1 MB, free: 14.43 MB / 318.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.007207/0.04885, allocations: 3.022 MB / 351.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.04889, allocations: 12.92 kB / 351.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009235/0.04981, allocations: 327 kB / 351.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.05268, allocations: 1.55 MB / 353 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.05283, allocations: 172.8 kB / 353.1 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.0532, allocations: 224.3 kB / 353.4 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00522/0.05842, allocations: 3.017 MB / 356.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.385e-05/0.05848, allocations: 11.98 kB / 356.4 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.05872, allocations: 91.98 kB / 356.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.05887, allocations: 112.3 kB / 356.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004467/0.06333, allocations: 2.426 MB / 359 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.0778, allocations: 7.843 MB / 366.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.08013, allocations: 1.18 MB / 368 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/0.08205, allocations: 0.917 MB / 369 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.08229, allocations: 48.95 kB / 369 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.08234, allocations: 47.56 kB / 369 MB, free: 8.953 MB / 334.1 MB Notification: Performance of pre-optimization done (n=105): time 2.956e-06/0.08234, allocations: 0 / 369 MB, free: 8.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=122): time 0.01525/0.0976, allocations: 6.036 MB / 375.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.09765, allocations: 64.41 kB / 375.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/0.09994, allocations: 1.421 MB / 376.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.1001, allocations: 49.7 kB / 376.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.1012, allocations: 1.133 MB / 377.7 MB, free: 192 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/0.1016, allocations: 452.4 kB / 378.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005078/0.1021, allocations: 271.5 kB / 378.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1023, allocations: 301.1 kB / 378.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.1037, allocations: 0.7066 MB / 379.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/0.1055, allocations: 1.146 MB / 380.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.1086, allocations: 1.963 MB / 382.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.1086, allocations: 8 kB / 382.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004803/0.1134, allocations: 2.44 MB / 385 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.1134, allocations: 8 kB / 385 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.1134, allocations: 20 kB / 385 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.1145, allocations: 423.3 kB / 385.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.1159, allocations: 351.5 kB / 385.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007551/0.1235, allocations: 6.705 MB / 392.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.1248, allocations: 103.8 kB / 392.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.1249, allocations: 60 kB / 392.7 MB, free: 0.5547 MB / 350.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.00131/0.1262, allocations: 0.7198 MB / 393.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.1265, allocations: 163 kB / 393.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004048/0.1306, allocations: 2.102 MB / 395.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.1306, allocations: 19.98 kB / 395.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1306, allocations: 4 kB / 395.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.1306, allocations: 3.984 kB / 395.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0079/0.1385, allocations: 4.122 MB / 399.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.1385, allocations: 4 kB / 399.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000998/0.1395, allocations: 224.1 kB / 400 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.1407, allocations: 455 kB / 400.5 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.707e-05/0.1408, allocations: 39.98 kB / 400.5 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008928/0.1498, allocations: 8.114 MB / 408.6 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.1498, allocations: 7.938 kB / 408.6 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/0.1551, allocations: 3.124 MB / 411.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007577/0.1559, allocations: 310.8 kB / 412 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.1561, allocations: 31.98 kB / 412.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009202/0.157, allocations: 79.91 kB / 412.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.1573, allocations: 108.7 kB / 412.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/0.1574, allocations: 36 kB / 412.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.1589, allocations: 0.9533 MB / 413.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1589, allocations: 0 / 413.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001622/0.1605, allocations: 483.9 kB / 413.7 MB, free: 10.86 MB / 382.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.0003896/0.1609, allocations: 203 kB / 413.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.1647, allocations: 2.155 MB / 416.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1647, allocations: 0 / 416.1 MB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.1671, allocations: 1.415 MB / 417.5 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.1691, allocations: 415.5 kB / 417.9 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/0.1768, allocations: 4.565 MB / 422.5 MB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.1784, allocations: 1.301 MB / 423.8 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001209/0.1796, allocations: 369.7 kB / 424.1 MB, free: 236 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.18, allocations: 116.5 kB / 424.2 MB, free: 120 kB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.18, allocations: 0 / 424.2 MB, free: 120 kB / 382.1 MB Notification: Performance of Templates: time 0.0468/0.2268, allocations: 25.33 MB / 449.6 MB, free: 7.094 MB / 414.1 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins/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: 5.407376199960709]