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.001027/0.001027, allocations: 85.08 kB / 22.99 MB, free: 1.504 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.001045/0.001045, allocations: 177.5 kB / 26.4 MB, free: 7.992 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.8827/0.8827, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.092e-06/1.092e-06, allocations: 0 / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.659e-05, allocations: 2.312 kB / 252.3 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01627/0.01628, allocations: 9.908 MB / 262.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005183/0.02147, allocations: 3.408 MB / 265.6 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000912/0.02238, allocations: 67.5 kB / 265.7 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.02363, allocations: 0.7606 MB / 266.4 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.02534, allocations: 0.9235 MB / 267.3 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.02603, allocations: 435.2 kB / 267.8 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.02832, allocations: 2.866 MB / 270.6 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.02959, allocations: 1.285 MB / 271.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.03135, allocations: 2.133 MB / 274.1 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.03276, allocations: 1.391 MB / 275.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.03304, allocations: 324 kB / 275.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.03357, allocations: 427.7 kB / 276.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005433/0.03411, allocations: 0.9387 MB / 277.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006987/0.03481, allocations: 1.025 MB / 278.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.0367, allocations: 2.355 MB / 280.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.03671, allocations: 0 / 280.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03671, allocations: 0 / 280.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.03673, allocations: 0 / 280.5 MB, free: 10.84 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.003265/0.04, allocations: 3.063 MB / 283.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.04003, allocations: 11.98 kB / 283.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006363/0.04066, allocations: 0.499 MB / 284.1 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.04211, allocations: 1.362 MB / 285.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/0.0422, allocations: 168.8 kB / 285.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.04242, allocations: 224.3 kB / 285.8 MB, free: 5.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.04417, allocations: 1.668 MB / 287.5 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/0.04421, allocations: 7.953 kB / 287.5 MB, free: 3.609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.04435, allocations: 91.98 kB / 287.6 MB, free: 3.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.457e-05/0.04444, allocations: 112.3 kB / 287.7 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009286/0.04537, allocations: 0.6556 MB / 288.3 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007086/0.05245, allocations: 7.255 MB / 295.6 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007823/0.05324, allocations: 0.6377 MB / 296.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.0538, allocations: 462.2 kB / 296.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.05394, allocations: 52.98 kB / 296.7 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.05397, allocations: 42.86 kB / 296.8 MB, free: 9.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=105): time 2.215e-06/0.05397, allocations: 0 / 296.8 MB, free: 9.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.003815/0.05779, allocations: 2.607 MB / 299.4 MB, free: 7.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.05781, allocations: 68.41 kB / 299.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/0.0587, allocations: 1.232 MB / 300.7 MB, free: 6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.05875, allocations: 45.7 kB / 300.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000538/0.05929, allocations: 1.23 MB / 302 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.05951, allocations: 456.2 kB / 302.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.05978, allocations: 281 kB / 302.7 MB, free: 3.973 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.05987, allocations: 480.8 kB / 303.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.0601, allocations: 175.8 kB / 303.3 MB, free: 3.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007429/0.06085, allocations: 0.7891 MB / 304.1 MB, free: 2.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008156/0.06166, allocations: 1.103 MB / 305.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.06167, allocations: 4 kB / 305.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.001427/0.0631, allocations: 1.284 MB / 306.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.06312, allocations: 19.47 kB / 306.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.06313, allocations: 12 kB / 306.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004643/0.06359, allocations: 258.2 kB / 306.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.06419, allocations: 303.5 kB / 307.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/0.06757, allocations: 6.476 MB / 313.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.06802, allocations: 63.88 kB / 313.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.06809, allocations: 51.98 kB / 313.7 MB, free: 8.105 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.0003345/0.06842, allocations: 248.3 kB / 313.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.06865, allocations: 210.9 kB / 314.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.06994, allocations: 1.028 MB / 315.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.06994, allocations: 12 kB / 315.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.06995, allocations: 4 kB / 315.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.06996, allocations: 15.91 kB / 315.2 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.07345, allocations: 3.019 MB / 318.2 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.07345, allocations: 4 kB / 318.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.0739, allocations: 183.8 kB / 318.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005338/0.07444, allocations: 278.3 kB / 318.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.07449, allocations: 35.98 kB / 318.7 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003946/0.07844, allocations: 8.185 MB / 326.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.07844, allocations: 8 kB / 326.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.08002, allocations: 1.544 MB / 328.4 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.08036, allocations: 258.8 kB / 328.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.08048, allocations: 35.98 kB / 328.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.08086, allocations: 51.97 kB / 328.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.081, allocations: 108.7 kB / 328.9 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.08105, allocations: 28 kB / 328.9 MB, free: 8.094 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005201/0.08157, allocations: 0.6757 MB / 329.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08157, allocations: 0 / 329.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001085/0.08265, allocations: 475.9 kB / 330 MB, free: 6.953 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.0002706/0.08292, allocations: 198.9 kB / 330.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.08437, allocations: 1.414 MB / 331.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.08438, allocations: 4 kB / 331.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.08546, allocations: 1.203 MB / 332.9 MB, free: 3.996 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.08648, allocations: 433.2 kB / 333.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/0.09064, allocations: 3.99 MB / 337.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.09108, allocations: 0.5965 MB / 337.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004572/0.09154, allocations: 217.9 kB / 338.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006394/0.09218, allocations: 481.9 kB / 338.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of SimCode: time 8.02e-07/0.09218, allocations: 0 / 338.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Templates: time 0.1187/0.2108, allocations: 26.57 MB / 365.1 MB, free: 89.84 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 -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.692169209010899]