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.00166/0.00166, allocations: 103 kB / 21.93 MB, free: 5.203 MB / 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.001928/0.001928, allocations: 202.2 kB / 25.21 MB, free: 3.145 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.414/1.414, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 59.86 kB / 348.5 MB, free: 9.355 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2522, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01017/0.2623, allocations: 9.073 MB / 406.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006644/0.269, allocations: 3.29 MB / 410 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.2711, allocations: 63.31 kB / 410 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.2735, allocations: 0.7566 MB / 410.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.2772, allocations: 0.8907 MB / 411.7 MB, free: 112 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.2787, allocations: 419.9 kB / 412.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005022/0.2837, allocations: 2.765 MB / 414.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002303/0.286, allocations: 1.277 MB / 416.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.2892, allocations: 1.29 MB / 417.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.2931, allocations: 1.513 MB / 418.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.2942, allocations: 334.4 kB / 419.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.296, allocations: 436.9 kB / 419.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.2972, allocations: 0.9584 MB / 420.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003005/0.3002, allocations: 1.217 MB / 421.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007018/0.3073, allocations: 4.414 MB / 426.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3073, allocations: 3.938 kB / 426.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3073, allocations: 4 kB / 426.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001529/0.3074, allocations: 4 kB / 426.3 MB, free: 6.383 MB / 334.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.008092/0.3155, allocations: 3.049 MB / 429.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3156, allocations: 11.98 kB / 429.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/0.3165, allocations: 323 kB / 429.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/0.3198, allocations: 1.461 MB / 431.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.3199, allocations: 168.4 kB / 431.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.3204, allocations: 223.9 kB / 431.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006084/0.3265, allocations: 3.017 MB / 434.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-05/0.3265, allocations: 7.938 kB / 434.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.3268, allocations: 92 kB / 434.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.3269, allocations: 112.3 kB / 434.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005002/0.3319, allocations: 2.418 MB / 437.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/0.3476, allocations: 7.831 MB / 445 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.3499, allocations: 1.176 MB / 446.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.3517, allocations: 0.9247 MB / 447.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.352, allocations: 56.89 kB / 447.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.352, allocations: 43.56 kB / 447.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.617e-06/0.352, allocations: 0 / 447.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01525/0.3673, allocations: 6.02 MB / 453.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.3673, allocations: 68.34 kB / 453.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.3697, allocations: 1.417 MB / 454.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.3699, allocations: 49.7 kB / 454.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.3709, allocations: 1.141 MB / 455.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/0.3714, allocations: 448.2 kB / 456.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004944/0.3719, allocations: 275.5 kB / 456.6 MB, free: 7.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3721, allocations: 301.1 kB / 456.9 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.3734, allocations: 0.7105 MB / 457.6 MB, free: 6.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.375, allocations: 1.131 MB / 458.7 MB, free: 5.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/0.3781, allocations: 1.972 MB / 460.7 MB, free: 3.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.3781, allocations: 11.94 kB / 460.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004575/0.3826, allocations: 2.428 MB / 463.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.3827, allocations: 19.84 kB / 463.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.3827, allocations: 12 kB / 463.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.3837, allocations: 423.4 kB / 463.6 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3851, allocations: 351.4 kB / 463.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007888/0.393, allocations: 6.686 MB / 470.6 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.3944, allocations: 107.9 kB / 470.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.3946, allocations: 67.98 kB / 470.8 MB, free: 8.594 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.001335/0.3959, allocations: 0.7121 MB / 471.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.3962, allocations: 170.9 kB / 471.7 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/0.4002, allocations: 2.09 MB / 473.7 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4002, allocations: 12 kB / 473.8 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.4002, allocations: 4 kB / 473.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.4003, allocations: 7.969 kB / 473.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00857/0.4088, allocations: 4.128 MB / 477.9 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.4088, allocations: 8.031 kB / 477.9 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.4098, allocations: 223.7 kB / 478.1 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.411, allocations: 450.9 kB / 478.6 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4111, allocations: 39.92 kB / 478.6 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009735/0.4209, allocations: 8.115 MB / 486.7 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.4209, allocations: 7.938 kB / 486.7 MB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/0.4268, allocations: 3.131 MB / 489.9 MB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.428, allocations: 306.8 kB / 490.2 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.4282, allocations: 39.98 kB / 490.2 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/0.4292, allocations: 83.84 kB / 490.3 MB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.4294, allocations: 108.7 kB / 490.4 MB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.4295, allocations: 43.98 kB / 490.4 MB, free: 4.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.4311, allocations: 0.9494 MB / 491.4 MB, free: 3.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4311, allocations: 0 / 491.4 MB, free: 3.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001834/0.433, allocations: 484.1 kB / 491.9 MB, free: 2.859 MB / 398.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.0004434/0.4334, allocations: 204.8 kB / 492.1 MB, free: 2.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004134/0.4375, allocations: 2.148 MB / 494.2 MB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4376, allocations: 0 / 494.2 MB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.4401, allocations: 1.423 MB / 495.6 MB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.4424, allocations: 413.2 kB / 496 MB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008644/0.451, allocations: 4.828 MB / 0.4891 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/0.4527, allocations: 1.265 MB / 0.4904 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.4532, allocations: 131.4 kB / 0.4905 GB, free: 8.227 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4532, allocations: 0 / 0.4905 GB, free: 8.227 MB / 414.1 MB Notification: Performance of Templates: time 0.2736/0.7268, allocations: 73.81 MB / 0.5626 GB, free: 150.6 MB / 478.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/jenkins1/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/jenkins1/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: 12.588976684957743]