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.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.001667/0.001667, allocations: 119.1 kB / 18.45 MB, free: 4.605 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.002017/0.002017, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.769/1.769, allocations: 207.6 MB / 231.8 MB, free: 4.117 MB / 174.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.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.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 59.42 kB / 342.8 MB, free: 9.559 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.128, allocations: 49.12 MB / 391.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01519/0.1432, allocations: 10.32 MB / 402.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009202/0.1524, allocations: 3.486 MB / 405.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.1543, allocations: 51.75 kB / 405.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.1567, allocations: 0.8271 MB / 406.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.1602, allocations: 0.8737 MB / 407.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.1616, allocations: 435.3 kB / 407.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004749/0.1664, allocations: 2.755 MB / 410.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.1689, allocations: 1.687 MB / 412.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.1711, allocations: 1.265 MB / 413.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.1741, allocations: 1.615 MB / 415.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006651/0.1747, allocations: 336 kB / 415.5 MB, free: 496 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.1759, allocations: 435.8 kB / 415.9 MB, free: 60 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.1771, allocations: 0.9504 MB / 416.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.1792, allocations: 1.509 MB / 418.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005854/0.1851, allocations: 4.402 MB / 422.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1851, allocations: 3.984 kB / 422.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.654e-06/0.1851, allocations: 0 / 422.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001152/0.1852, allocations: 0 / 422.8 MB, free: 9.168 MB / 350.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.007355/0.1926, allocations: 3.117 MB / 425.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1926, allocations: 12.03 kB / 425.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/0.1936, allocations: 331 kB / 426.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.1965, allocations: 1.537 MB / 427.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.1967, allocations: 172.3 kB / 428 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/0.1971, allocations: 227.9 kB / 428.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0059/0.203, allocations: 2.913 MB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.935e-05/0.203, allocations: 4 kB / 431.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.2032, allocations: 91.98 kB / 431.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.2034, allocations: 116.3 kB / 431.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/0.2084, allocations: 2.426 MB / 433.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.2248, allocations: 9.042 MB / 442.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.2274, allocations: 1.631 MB / 444.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.2293, allocations: 0.9291 MB / 445.3 MB, free: 2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.2297, allocations: 203.2 kB / 445.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.2297, allocations: 43.56 kB / 445.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=105): time 3.366e-06/0.2297, allocations: 0 / 445.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01593/0.2456, allocations: 6.559 MB / 452.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.2457, allocations: 64.41 kB / 452.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/0.2487, allocations: 1.565 MB / 453.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.2489, allocations: 45.7 kB / 453.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.25, allocations: 1.134 MB / 454.9 MB, free: 8.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/0.2505, allocations: 452.2 kB / 455.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005522/0.251, allocations: 279.4 kB / 455.7 MB, free: 7.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.2512, allocations: 301.1 kB / 456 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.2526, allocations: 0.6988 MB / 456.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.2544, allocations: 1.139 MB / 457.8 MB, free: 5.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.2576, allocations: 1.972 MB / 459.8 MB, free: 2.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.2576, allocations: 4 kB / 459.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005163/0.2628, allocations: 2.523 MB / 462.3 MB, free: 384 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.2628, allocations: 8 kB / 462.3 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.2629, allocations: 16 kB / 462.3 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2276/0.4904, allocations: 421.8 kB / 462.7 MB, free: 62.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.4928, allocations: 348.5 kB / 463.1 MB, free: 62.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008841/0.5016, allocations: 7.135 MB / 470.2 MB, free: 58.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.5039, allocations: 108.1 kB / 470.3 MB, free: 58.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.5041, allocations: 63.95 kB / 470.4 MB, free: 58.03 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.00219/0.5062, allocations: 0.7198 MB / 471.1 MB, free: 57.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008093/0.507, allocations: 179.2 kB / 471.3 MB, free: 57.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00566/0.5127, allocations: 2.181 MB / 473.4 MB, free: 56.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.5127, allocations: 17.59 kB / 473.5 MB, free: 56.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/0.5128, allocations: 4.25 kB / 473.5 MB, free: 56.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/0.5128, allocations: 9.828 kB / 473.5 MB, free: 56.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.5246, allocations: 4.764 MB / 478.2 MB, free: 54.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.5247, allocations: 4.344 kB / 478.2 MB, free: 54.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009964/0.5257, allocations: 221.7 kB / 478.5 MB, free: 54.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.5271, allocations: 451.2 kB / 478.9 MB, free: 54.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.5272, allocations: 40.12 kB / 478.9 MB, free: 54.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007641/0.5349, allocations: 8.676 MB / 487.6 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.5349, allocations: 4.125 kB / 487.6 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005312/0.5402, allocations: 3.226 MB / 490.8 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.5412, allocations: 403.8 kB / 491.2 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/0.5415, allocations: 37.77 kB / 491.3 MB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009782/0.5424, allocations: 80.12 kB / 491.4 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.5427, allocations: 105.1 kB / 491.5 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/0.5428, allocations: 43.52 kB / 491.5 MB, free: 45.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001539/0.5443, allocations: 1.064 MB / 492.6 MB, free: 44.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5443, allocations: 0 / 492.6 MB, free: 44.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001861/0.5462, allocations: 490.4 kB / 493 MB, free: 44.93 MB / 382.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.0003962/0.5466, allocations: 201.6 kB / 493.2 MB, free: 44.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003431/0.55, allocations: 2.217 MB / 495.5 MB, free: 43.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.55, allocations: 4 kB / 495.5 MB, free: 43.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.5521, allocations: 1.429 MB / 496.9 MB, free: 41.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.5543, allocations: 487.9 kB / 497.4 MB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/0.5613, allocations: 4.745 MB / 0.4903 GB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.5625, allocations: 1.871 MB / 0.4922 GB, free: 34.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001342/0.5639, allocations: 394.8 kB / 0.4925 GB, free: 34.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.5642, allocations: 122.9 kB / 0.4927 GB, free: 33.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5642, allocations: 0 / 0.4927 GB, free: 33.9 MB / 382.1 MB Notification: Performance of Templates: time 0.0506/0.6148, allocations: 27.2 MB / 0.5192 GB, free: 6.672 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.664411328732967]