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.001847/0.001847, allocations: 107.8 kB / 19.76 MB, free: 2.551 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.001675/0.001675, allocations: 189.4 kB / 22.92 MB, free: 5.582 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.614/1.614, allocations: 207.6 MB / 233.5 MB, free: 10.99 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.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.001731/0.001731, allocations: 59.91 kB / 345.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2857, allocations: 49.11 MB / 394.5 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01179/0.2975, allocations: 10.37 MB / 404.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008657/0.3062, allocations: 3.505 MB / 408.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.3085, allocations: 47.34 kB / 408.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.3118, allocations: 0.8282 MB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.316, allocations: 0.8747 MB / 410.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.3178, allocations: 438.6 kB / 410.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004849/0.3227, allocations: 2.757 MB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.3251, allocations: 1.327 MB / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.3279, allocations: 1.26 MB / 415.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003926/0.3318, allocations: 1.62 MB / 417.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.3328, allocations: 335 kB / 417.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.3346, allocations: 436.4 kB / 418.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.3362, allocations: 0.9538 MB / 419.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003349/0.3395, allocations: 1.505 MB / 420.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00696/0.3465, allocations: 4.4 MB / 425.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3465, allocations: 1.469 kB / 425.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3465, allocations: 0 / 425.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001523/0.3467, allocations: 0 / 425.2 MB, free: 5.074 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.009593/0.3563, allocations: 3.123 MB / 428.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3563, allocations: 8.031 kB / 428.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.3574, allocations: 327 kB / 428.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.3608, allocations: 1.545 MB / 430.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001901/0.361, allocations: 168.4 kB / 430.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005442/0.3616, allocations: 220 kB / 430.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007268/0.3688, allocations: 2.917 MB / 433.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-05/0.3689, allocations: 4 kB / 433.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.3692, allocations: 87.98 kB / 433.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.3693, allocations: 116.3 kB / 433.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005879/0.3752, allocations: 2.433 MB / 436.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.3942, allocations: 9.038 MB / 445.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.397, allocations: 1.651 MB / 446.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/0.399, allocations: 0.9135 MB / 447.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/0.3993, allocations: 207.2 kB / 447.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.3994, allocations: 43.56 kB / 447.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=105): time 5.821e-06/0.3994, allocations: 4 kB / 447.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.01624/0.4156, allocations: 6.555 MB / 454.5 MB, free: 7.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.4157, allocations: 64.41 kB / 454.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.4188, allocations: 1.569 MB / 456.1 MB, free: 5.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002749/0.419, allocations: 49.7 kB / 456.2 MB, free: 5.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.4202, allocations: 1.126 MB / 457.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007069/0.421, allocations: 452.1 kB / 457.7 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005689/0.4215, allocations: 275.5 kB / 458 MB, free: 3.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4217, allocations: 305.1 kB / 458.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.4232, allocations: 0.7066 MB / 459 MB, free: 2.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.4249, allocations: 1.143 MB / 460.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.4283, allocations: 1.964 MB / 462.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/0.4283, allocations: 4 kB / 462.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00527/0.4335, allocations: 2.515 MB / 464.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.4336, allocations: 12.28 kB / 464.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/0.4336, allocations: 16 kB / 464.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.4347, allocations: 419.1 kB / 465.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.4363, allocations: 351.4 kB / 465.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009008/0.4453, allocations: 7.143 MB / 472.6 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.4472, allocations: 107.8 kB / 472.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.4474, allocations: 60 kB / 472.7 MB, free: 3.961 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.001674/0.4491, allocations: 0.7208 MB / 473.4 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005235/0.4496, allocations: 178.9 kB / 473.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.4539, allocations: 2.178 MB / 475.8 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.4539, allocations: 15.98 kB / 475.8 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4539, allocations: 4 kB / 475.8 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.4539, allocations: 11.92 kB / 475.8 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.4641, allocations: 4.765 MB / 480.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.4641, allocations: 4 kB / 480.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4651, allocations: 219.7 kB / 480.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.4665, allocations: 467.1 kB / 481.3 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.4666, allocations: 31.98 kB / 481.3 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.4772, allocations: 8.679 MB / 490 MB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.4772, allocations: 11.94 kB / 490 MB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/0.4836, allocations: 3.223 MB / 493.2 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.4848, allocations: 403.8 kB / 493.6 MB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/0.4852, allocations: 35.98 kB / 493.6 MB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.4864, allocations: 79.91 kB / 493.7 MB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.4866, allocations: 100.8 kB / 493.8 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-05/0.4867, allocations: 43.98 kB / 493.9 MB, free: 13.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001916/0.4887, allocations: 1.066 MB / 494.9 MB, free: 12.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4887, allocations: 0 / 494.9 MB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002315/0.491, allocations: 487.9 kB / 495.4 MB, free: 12.36 MB / 414.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.0005466/0.4915, allocations: 198.9 kB / 495.6 MB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004337/0.4959, allocations: 2.218 MB / 497.8 MB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.4959, allocations: 4 kB / 497.8 MB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.4986, allocations: 1.428 MB / 499.2 MB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.5013, allocations: 477.3 kB / 499.7 MB, free: 7.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.5124, allocations: 4.785 MB / 0.4927 GB, free: 3.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.5147, allocations: 1.871 MB / 0.4945 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001698/0.5164, allocations: 398.8 kB / 0.4949 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.5168, allocations: 119.4 kB / 0.495 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of SimCode: time 2.585e-06/0.5168, allocations: 0 / 0.495 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of Templates: time 0.06002/0.5768, allocations: 27.63 MB / 0.522 GB, free: 4.953 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: 6.128741114400327]