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.001279/0.001279, allocations: 82.31 kB / 21.43 MB, free: 296 kB / 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.001437/0.001437, allocations: 160.7 kB / 24.7 MB, free: 3.551 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.296/1.296, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 179] 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: 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.297e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01152/0.01155, allocations: 9.073 MB / 308 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.01817, allocations: 3.28 MB / 311.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.01941, allocations: 63.56 kB / 311.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.0214, allocations: 0.7722 MB / 312.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.02404, allocations: 0.908 MB / 313.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.02502, allocations: 439.3 kB / 313.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003608/0.02862, allocations: 2.859 MB / 316.4 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.03061, allocations: 1.289 MB / 317.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.03367, allocations: 1.879 MB / 319.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002294/0.03596, allocations: 1.36 MB / 320.9 MB, free: 2.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007343/0.0367, allocations: 336 kB / 321.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009261/0.03762, allocations: 431.8 kB / 321.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.03868, allocations: 0.9854 MB / 322.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1434/0.182, allocations: 1.024 MB / 323.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00763/0.1897, allocations: 4.442 MB / 328.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1897, allocations: 0 / 328.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1897, allocations: 0 / 328.1 MB, free: 19.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001849/0.1899, allocations: 0 / 328.1 MB, free: 19.36 MB / 302.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.009895/0.1997, allocations: 3.021 MB / 331.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1998, allocations: 16.95 kB / 331.1 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.2008, allocations: 322.5 kB / 331.4 MB, free: 17.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.2035, allocations: 1.458 MB / 332.9 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.2036, allocations: 168.4 kB / 333.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003642/0.204, allocations: 216.5 kB / 333.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/0.2091, allocations: 3.021 MB / 336.3 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.348e-05/0.2092, allocations: 10.2 kB / 336.3 MB, free: 16.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.2094, allocations: 91.34 kB / 336.4 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.2095, allocations: 113.8 kB / 336.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.2138, allocations: 2.425 MB / 338.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.2265, allocations: 7.832 MB / 346.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.2284, allocations: 1.175 MB / 347.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.2299, allocations: 0.9257 MB / 348.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.2301, allocations: 44.34 kB / 348.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2301, allocations: 43.5 kB / 348.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=105): time 2.885e-06/0.2301, allocations: 0 / 348.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=122): time 0.01261/0.2427, allocations: 6.029 MB / 355 MB, free: 5.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2427, allocations: 72.33 kB / 355 MB, free: 5.324 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.2444, allocations: 1.413 MB / 356.5 MB, free: 3.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-05/0.2445, allocations: 49.7 kB / 356.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.2449, allocations: 1.14 MB / 357.6 MB, free: 2.699 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.2451, allocations: 445.1 kB / 358.1 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.2455, allocations: 271.5 kB / 358.3 MB, free: 2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.2455, allocations: 301.1 kB / 358.6 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009638/0.2465, allocations: 0.7105 MB / 359.4 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.2477, allocations: 1.139 MB / 360.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/0.251, allocations: 1.968 MB / 362.5 MB, free: 13.58 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.251, allocations: 4 kB / 362.5 MB, free: 13.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004953/0.256, allocations: 2.418 MB / 364.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.256, allocations: 15.72 kB / 364.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.256, allocations: 19.28 kB / 364.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.2571, allocations: 423.9 kB / 365.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.2585, allocations: 345.6 kB / 365.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007877/0.2664, allocations: 6.687 MB / 372.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.2681, allocations: 111.3 kB / 372.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.2683, allocations: 64 kB / 372.5 MB, free: 3.34 MB / 318.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.001511/0.2698, allocations: 0.7204 MB / 373.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.2702, allocations: 159.5 kB / 373.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.2744, allocations: 2.096 MB / 375.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.2744, allocations: 16.08 kB / 375.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2744, allocations: 4 kB / 375.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.2745, allocations: 3.984 kB / 375.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008224/0.2827, allocations: 4.119 MB / 379.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.2827, allocations: 4 kB / 379.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.2837, allocations: 224 kB / 379.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.285, allocations: 449.5 kB / 380.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.2851, allocations: 47.91 kB / 380.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008919/0.294, allocations: 8.109 MB / 388.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/0.294, allocations: 15.75 kB / 388.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/0.2997, allocations: 3.119 MB / 391.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.3007, allocations: 314.8 kB / 391.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.301, allocations: 28 kB / 391.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009497/0.3019, allocations: 79.91 kB / 392 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.3022, allocations: 108.4 kB / 392.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.164e-05/0.3023, allocations: 43.98 kB / 392.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001613/0.3039, allocations: 0.9533 MB / 393.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3039, allocations: 3.828 kB / 393.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001858/0.3058, allocations: 488.1 kB / 393.6 MB, free: 13.83 MB / 350.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.0004301/0.3062, allocations: 198.8 kB / 393.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003985/0.3102, allocations: 2.138 MB / 395.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.3102, allocations: 3.984 kB / 395.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002582/0.3128, allocations: 1.423 MB / 397.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.3151, allocations: 421.8 kB / 397.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008445/0.3235, allocations: 4.582 MB / 402.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.3251, allocations: 1.294 MB / 403.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001278/0.3264, allocations: 373.7 kB / 404 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.3268, allocations: 120.5 kB / 404.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3268, allocations: 0 / 404.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of Templates: time 0.04835/0.3751, allocations: 25.33 MB / 429.5 MB, free: 9.875 MB / 382.1 MB " [Timeout remaining time 660] 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: 5.2899035178124905]