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.001932/0.001932, allocations: 103.6 kB / 21.18 MB, free: 332 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.002249/0.002249, allocations: 212 kB / 24.47 MB, free: 3.547 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.452/1.452, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001838/0.001838, allocations: 59.86 kB / 347.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2744, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.0106/0.285, allocations: 9.057 MB / 405.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007198/0.2922, allocations: 3.29 MB / 409.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.2941, allocations: 67.25 kB / 409.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.2961, allocations: 0.7483 MB / 410 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.2994, allocations: 0.8907 MB / 410.9 MB, free: 132 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.3005, allocations: 437.5 kB / 411.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003951/0.3045, allocations: 2.762 MB / 414.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.3066, allocations: 1.276 MB / 415.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.3089, allocations: 1.287 MB / 416.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.3124, allocations: 1.517 MB / 418.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.3134, allocations: 334.7 kB / 418.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.3156, allocations: 437 kB / 418.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.3169, allocations: 0.9531 MB / 419.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.3196, allocations: 1.214 MB / 421.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006342/0.326, allocations: 4.424 MB / 425.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.326, allocations: 3.938 kB / 425.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.326, allocations: 0 / 425.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001386/0.3261, allocations: 0 / 425.5 MB, free: 6.402 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.00838/0.3345, allocations: 3.045 MB / 428.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.3345, allocations: 15.98 kB / 428.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009765/0.3355, allocations: 327 kB / 428.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003982/0.3395, allocations: 1.461 MB / 430.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.3397, allocations: 172.3 kB / 430.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004472/0.3401, allocations: 223.9 kB / 430.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006331/0.3464, allocations: 3.009 MB / 433.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.719e-05/0.3465, allocations: 4 kB / 433.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.3467, allocations: 88 kB / 433.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/0.3469, allocations: 112.3 kB / 434 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004887/0.3518, allocations: 2.43 MB / 436.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.3688, allocations: 7.827 MB / 444.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.3712, allocations: 1.176 MB / 445.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.373, allocations: 0.9208 MB / 446.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.3733, allocations: 60.88 kB / 446.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.3733, allocations: 47.5 kB / 446.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=105): time 3.778e-06/0.3733, allocations: 0 / 446.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01502/0.3883, allocations: 6.016 MB / 452.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3884, allocations: 64.41 kB / 452.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.3906, allocations: 1.417 MB / 453.9 MB, free: 9.445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.3907, allocations: 49.7 kB / 454 MB, free: 9.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009266/0.3916, allocations: 1.145 MB / 455.1 MB, free: 8.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003953/0.392, allocations: 448.2 kB / 455.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004561/0.3925, allocations: 275.5 kB / 455.8 MB, free: 7.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3926, allocations: 301.1 kB / 456.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3939, allocations: 0.7105 MB / 456.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.3955, allocations: 1.143 MB / 458 MB, free: 5.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.3985, allocations: 1.972 MB / 459.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/0.3985, allocations: 8 kB / 460 MB, free: 3.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004457/0.403, allocations: 2.417 MB / 462.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.403, allocations: 19.84 kB / 462.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.403, allocations: 12 kB / 462.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.4041, allocations: 427.4 kB / 462.8 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.4054, allocations: 347.4 kB / 463.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007556/0.4129, allocations: 6.694 MB / 469.9 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.4143, allocations: 107.8 kB / 470 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.4145, allocations: 64 kB / 470 MB, free: 8.613 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.0014/0.4159, allocations: 0.716 MB / 470.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.4162, allocations: 170.9 kB / 470.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.42, allocations: 2.094 MB / 473 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.4201, allocations: 12 kB / 473 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4201, allocations: 4 kB / 473 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.4201, allocations: 7.969 kB / 473 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008078/0.4282, allocations: 4.123 MB / 477.1 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4282, allocations: 4 kB / 477.1 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/0.4291, allocations: 223.7 kB / 477.4 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.4303, allocations: 447.5 kB / 477.8 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.751e-05/0.4304, allocations: 43.91 kB / 477.8 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008899/0.4393, allocations: 8.111 MB / 486 MB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.4393, allocations: 4 kB / 486 MB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/0.445, allocations: 3.143 MB / 489.1 MB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.4464, allocations: 310.8 kB / 489.4 MB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.4466, allocations: 28 kB / 489.4 MB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008994/0.4475, allocations: 83.91 kB / 489.5 MB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.4478, allocations: 112.8 kB / 489.6 MB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/0.4478, allocations: 39.98 kB / 489.7 MB, free: 4.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.4495, allocations: 0.9533 MB / 490.6 MB, free: 3.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4495, allocations: 0 / 490.6 MB, free: 3.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00211/0.4516, allocations: 484.1 kB / 491.1 MB, free: 2.879 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.0004221/0.452, allocations: 196.8 kB / 491.3 MB, free: 2.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00404/0.456, allocations: 2.156 MB / 493.4 MB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.456, allocations: 0 / 493.4 MB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.4585, allocations: 1.419 MB / 494.9 MB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.4606, allocations: 429.2 kB / 495.3 MB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008266/0.4689, allocations: 4.76 MB / 0.4883 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.4705, allocations: 1.298 MB / 0.4896 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001249/0.4718, allocations: 369.7 kB / 0.4899 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.4722, allocations: 119.4 kB / 0.4901 GB, free: 7.918 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4722, allocations: 3.938 kB / 0.4901 GB, free: 7.914 MB / 414.1 MB Notification: Performance of Templates: time 0.05082/0.523, allocations: 28.28 MB / 0.5177 GB, free: 11.57 MB / 446.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: 5.775561427697539]