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.0009902/0.0009902, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.001185/0.001185, allocations: 167.9 kB / 25.7 MB, free: 8.445 MB / 18.57 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 0.8562/0.8562, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 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.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|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.[0-9,]+.|smpm.idq_dr.[0-9,]+.|smpm.idq_rr.[0-9,]+.|smpm.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.858e-05, allocations: 6.25 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.008827/0.008845, allocations: 9.982 MB / 261.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005235/0.01408, allocations: 3.528 MB / 265.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009155/0.015, allocations: 67.5 kB / 265.2 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.01624, allocations: 0.7761 MB / 265.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.01771, allocations: 0.9196 MB / 266.9 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.01828, allocations: 431.2 kB / 267.3 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.02074, allocations: 2.859 MB / 270.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.02187, allocations: 1.324 MB / 271.5 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.02379, allocations: 2.117 MB / 273.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.02497, allocations: 1.387 MB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.02523, allocations: 320 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.02569, allocations: 427.8 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.02622, allocations: 0.9348 MB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006814/0.0269, allocations: 1.021 MB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.02882, allocations: 2.363 MB / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.02883, allocations: 0 / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02883, allocations: 0 / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.02884, allocations: 0 / 280 MB, free: 10.59 MB / 266.7 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.002641/0.03149, allocations: 2.801 MB / 282.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.03152, allocations: 11.98 kB / 282.8 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000572/0.03209, allocations: 408.5 kB / 283.2 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.03325, allocations: 1.063 MB / 284.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.03334, allocations: 168.8 kB / 284.5 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.03354, allocations: 232.3 kB / 284.7 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.03518, allocations: 1.692 MB / 286.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.03522, allocations: 4 kB / 286.4 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.03534, allocations: 87.98 kB / 286.5 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.403e-05/0.03542, allocations: 112.3 kB / 286.6 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.03649, allocations: 0.658 MB / 287.2 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005527/0.04202, allocations: 5.874 MB / 293.1 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.0429, allocations: 0.6442 MB / 293.7 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.04343, allocations: 431.4 kB / 294.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.04357, allocations: 56.97 kB / 294.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.0436, allocations: 47.56 kB / 294.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 2.154e-06/0.0436, allocations: 0 / 294.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.003934/0.04753, allocations: 2.577 MB / 296.8 MB, free: 9.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.04756, allocations: 68.34 kB / 296.9 MB, free: 9.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/0.04827, allocations: 1.051 MB / 298 MB, free: 8.051 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.327e-05/0.04833, allocations: 45.7 kB / 298 MB, free: 8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.0487, allocations: 0.9403 MB / 298.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.04891, allocations: 452.1 kB / 299.4 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.04917, allocations: 259.4 kB / 299.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.04923, allocations: 301.1 kB / 299.9 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.04947, allocations: 170.8 kB / 300.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.05, allocations: 0.5883 MB / 300.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.05074, allocations: 0.9266 MB / 301.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.05074, allocations: 4 kB / 301.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.001184/0.05193, allocations: 1.043 MB / 302.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.05195, allocations: 12.28 kB / 302.7 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.05196, allocations: 16 kB / 302.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.05243, allocations: 243.6 kB / 302.9 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.05307, allocations: 319.5 kB / 303.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.05596, allocations: 4.758 MB / 308 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.05636, allocations: 55.94 kB / 308.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.05642, allocations: 52 kB / 308.1 MB, free: 13.19 MB / 298.7 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.0002947/0.05671, allocations: 216.2 kB / 308.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.05688, allocations: 135.9 kB / 308.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.05792, allocations: 0.8726 MB / 309.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.05793, allocations: 12 kB / 309.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.05793, allocations: 12 kB / 309.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.05794, allocations: 3.984 kB / 309.4 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.06075, allocations: 2.53 MB / 311.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.06076, allocations: 4 kB / 311.9 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.06126, allocations: 211.6 kB / 312.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005545/0.06181, allocations: 304.1 kB / 312.4 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.06187, allocations: 35.98 kB / 312.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/0.06521, allocations: 5.947 MB / 318.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.06521, allocations: 4 kB / 318.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.06658, allocations: 1.319 MB / 319.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.06686, allocations: 206.8 kB / 319.9 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.06697, allocations: 39.98 kB / 319.9 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.06732, allocations: 43.98 kB / 320 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.06746, allocations: 108.7 kB / 320.1 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.0675, allocations: 27.98 kB / 320.1 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004128/0.06791, allocations: 0.5199 MB / 320.6 MB, free: 4 kB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06791, allocations: 0 / 320.6 MB, free: 4 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009941/0.06891, allocations: 476 kB / 321.1 MB, free: 15.54 MB / 314.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002605/0.06917, allocations: 175.9 kB / 321.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.07062, allocations: 1.185 MB / 322.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.224e-05/0.07065, allocations: 16.56 kB / 322.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009682/0.07162, allocations: 0.949 MB / 323.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000966/0.07259, allocations: 434.9 kB / 323.8 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.07653, allocations: 3.828 MB / 327.7 MB, free: 8.762 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.07696, allocations: 0.5302 MB / 328.2 MB, free: 8.203 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000451/0.07741, allocations: 217.9 kB / 328.4 MB, free: 7.984 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006415/0.07806, allocations: 419.1 kB / 328.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of SimCode: time 1.422e-06/0.07806, allocations: 0 / 328.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of Templates: time 0.1543/0.2324, allocations: 26.03 MB / 354.9 MB, free: 89.46 MB / 330.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.292161159683019]