Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.002097/0.002097, allocations: 106 kB / 21.18 MB, free: 0.6992 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.002556/0.002556, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.754/1.754, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.001779/0.001779, allocations: 55.92 kB / 347.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2739, allocations: 49.16 MB / 396.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01099/0.2849, allocations: 9.672 MB / 406.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008573/0.2935, allocations: 3.172 MB / 409.7 MB, free: 356 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.2959, allocations: 68.81 kB / 409.7 MB, free: 320 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003001/0.2989, allocations: 0.7034 MB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.303, allocations: 0.8122 MB / 411.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.3044, allocations: 409.2 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004369/0.3088, allocations: 2.564 MB / 414.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.3109, allocations: 1.273 MB / 415.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.313, allocations: 1.212 MB / 416.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.3157, allocations: 1.531 MB / 418.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005326/0.3162, allocations: 317.3 kB / 418.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3172, allocations: 426.8 kB / 419 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.3183, allocations: 0.9166 MB / 419.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.3202, allocations: 1.413 MB / 421.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005144/0.3253, allocations: 4.16 MB / 425.4 MB, free: 6.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3253, allocations: 5.203 kB / 425.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3253, allocations: 0 / 425.5 MB, free: 6.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.3254, allocations: 4 kB / 425.5 MB, free: 6.328 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.006878/0.3323, allocations: 2.893 MB / 428.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3324, allocations: 11.98 kB / 428.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008645/0.3332, allocations: 303.1 kB / 428.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.3363, allocations: 1.378 MB / 430 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.3365, allocations: 160.3 kB / 430.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000469/0.337, allocations: 215.9 kB / 430.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007108/0.3441, allocations: 2.796 MB / 433.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.3442, allocations: 11.89 kB / 433.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/0.3446, allocations: 84 kB / 433.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/0.3447, allocations: 108.2 kB / 433.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006283/0.351, allocations: 2.351 MB / 435.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/0.3708, allocations: 8.359 MB / 444.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.3734, allocations: 1.192 MB / 445.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.3753, allocations: 0.89 MB / 446.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.3756, allocations: 52.95 kB / 446.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.3757, allocations: 47.5 kB / 446.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.276e-06/0.3757, allocations: 8 kB / 446.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=116): time 0.01427/0.3899, allocations: 5.674 MB / 452 MB, free: 11.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.39, allocations: 64.41 kB / 452 MB, free: 11.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.3924, allocations: 1.437 MB / 453.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.3925, allocations: 45.7 kB / 453.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009008/0.3934, allocations: 1.063 MB / 454.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.3938, allocations: 424.4 kB / 455 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.3942, allocations: 259.5 kB / 455.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.3945, allocations: 365.9 kB / 455.6 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.3957, allocations: 0.6831 MB / 456.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.3974, allocations: 1.07 MB / 457.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.4003, allocations: 1.86 MB / 459.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.4003, allocations: 4 kB / 459.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004557/0.4049, allocations: 2.327 MB / 461.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.4049, allocations: 8.25 kB / 461.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.4049, allocations: 16 kB / 461.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.406, allocations: 419.1 kB / 462 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.4072, allocations: 331.5 kB / 462.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008099/0.4153, allocations: 6.735 MB / 469 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.4168, allocations: 103.8 kB / 469.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.417, allocations: 63.98 kB / 469.2 MB, free: 9.648 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * 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,11,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.001342/0.4183, allocations: 0.6885 MB / 469.9 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/0.4187, allocations: 163 kB / 470.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.4229, allocations: 2.035 MB / 472.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.4229, allocations: 16.08 kB / 472.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4229, allocations: 4 kB / 472.1 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.423, allocations: 7.969 kB / 472.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009122/0.4321, allocations: 4.446 MB / 476.6 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.4321, allocations: 4.469 kB / 476.6 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/0.4331, allocations: 219.7 kB / 476.8 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.4343, allocations: 443 kB / 477.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.4345, allocations: 31.98 kB / 477.2 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009717/0.4442, allocations: 8.214 MB / 485.5 MB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.4442, allocations: 7.938 kB / 485.5 MB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005681/0.4499, allocations: 3.032 MB / 488.5 MB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.451, allocations: 310.8 kB / 488.8 MB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.4514, allocations: 32 kB / 488.8 MB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009833/0.4523, allocations: 83.91 kB / 488.9 MB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.4526, allocations: 100.7 kB / 489 MB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.772e-05/0.4527, allocations: 39.98 kB / 489.1 MB, free: 5.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001814/0.4545, allocations: 0.9925 MB / 490 MB, free: 4.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4545, allocations: 0 / 490 MB, free: 4.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002011/0.4565, allocations: 463.9 kB / 490.5 MB, free: 3.648 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],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 (103): * Single equations (assignments): 99 * 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,11,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.0004992/0.457, allocations: 192.8 kB / 490.7 MB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00466/0.4617, allocations: 2.073 MB / 492.8 MB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.4617, allocations: 0 / 492.8 MB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002731/0.4644, allocations: 1.399 MB / 494.2 MB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.4669, allocations: 425.4 kB / 494.6 MB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009286/0.4762, allocations: 4.531 MB / 499.1 MB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002339/0.4785, allocations: 1.811 MB / 0.4892 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.4799, allocations: 361.6 kB / 0.4895 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.4803, allocations: 115.4 kB / 0.4896 GB, free: 8.535 MB / 414.1 MB Notification: Performance of SimCode: time 1.763e-06/0.4803, allocations: 0 / 0.4896 GB, free: 8.535 MB / 414.1 MB Notification: Performance of Templates: time 0.0528/0.5331, allocations: 26 MB / 0.515 GB, free: 14.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_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.9966204622760415]