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.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.001207/0.001207, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001255/0.002462, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009535/0.0009535, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001217/0.00217, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9095/0.9095, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1452/1.055, allocations: 49.48 MB / 220.5 MB, free: 1.461 MB / 218.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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|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.[0-9,]+.|smr.idq_rr.[0-9,]+.|smr.idq_sr.[0-9,]+.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.236e-05, allocations: 6.25 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01114/0.01116, allocations: 9.379 MB / 231.2 MB, free: 6.738 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007145/0.01831, allocations: 3.232 MB / 234.5 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.02025, allocations: 63.56 kB / 234.5 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.02223, allocations: 0.683 MB / 235.2 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.02538, allocations: 0.8342 MB / 236 MB, free: 1.902 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.02662, allocations: 399.3 kB / 236.4 MB, free: 1.512 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003676/0.0303, allocations: 2.668 MB / 239.1 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.03244, allocations: 1.275 MB / 240.4 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003586/0.03603, allocations: 2.157 MB / 242.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002489/0.03852, allocations: 1.329 MB / 243.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.03959, allocations: 304 kB / 244.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.04087, allocations: 407.8 kB / 244.6 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.04189, allocations: 0.7325 MB / 245.3 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.04355, allocations: 0.7876 MB / 246.1 MB, free: 7.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.04668, allocations: 2.11 MB / 248.2 MB, free: 5.633 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-05/0.0467, allocations: 0 / 248.2 MB, free: 5.633 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.04671, allocations: 0 / 248.2 MB, free: 5.633 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001051/0.04681, allocations: 0 / 248.2 MB, free: 5.633 MB / 250.7 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.005545/0.05236, allocations: 3.141 MB / 251.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.0524, allocations: 12.03 kB / 251.3 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.05341, allocations: 465.7 kB / 251.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.05561, allocations: 0.9872 MB / 252.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.05576, allocations: 160.5 kB / 252.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.05609, allocations: 216.3 kB / 253.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.0584, allocations: 1.617 MB / 254.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/0.05844, allocations: 11.88 kB / 254.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.05856, allocations: 88 kB / 254.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.221e-05/0.05864, allocations: 108.2 kB / 255 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000912/0.05956, allocations: 0.6208 MB / 255.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006408/0.06596, allocations: 5.51 MB / 261.1 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.06682, allocations: 0.6505 MB / 261.7 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.06735, allocations: 422.6 kB / 262.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.06754, allocations: 56.97 kB / 262.2 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.06757, allocations: 39.56 kB / 262.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=101): time 3.757e-06/0.06757, allocations: 3.938 kB / 262.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=116): time 0.004441/0.07201, allocations: 2.417 MB / 264.7 MB, free: 4.574 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.07204, allocations: 68.34 kB / 264.7 MB, free: 4.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000755/0.0728, allocations: 0.9583 MB / 265.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.07285, allocations: 41.7 kB / 265.7 MB, free: 3.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.07328, allocations: 0.8928 MB / 266.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.07348, allocations: 424.3 kB / 267 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.07371, allocations: 239.4 kB / 267.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.07381, allocations: 369.7 kB / 267.6 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.07403, allocations: 162.8 kB / 267.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.07453, allocations: 0.5354 MB / 268.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/0.07522, allocations: 0.8457 MB / 269.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.07522, allocations: 4 kB / 269.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001375/0.0766, allocations: 0.9707 MB / 270.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.07662, allocations: 12 kB / 270.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.07664, allocations: 12 kB / 270.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.07713, allocations: 235.9 kB / 270.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.07779, allocations: 339.4 kB / 270.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.08064, allocations: 4.715 MB / 275.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.08125, allocations: 51.98 kB / 275.5 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.08131, allocations: 47.98 kB / 275.6 MB, free: 8.992 MB / 282.7 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.0004578/0.08177, allocations: 196.2 kB / 275.7 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.08198, allocations: 139.8 kB / 275.9 MB, free: 8.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.08304, allocations: 0.8304 MB / 276.7 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.08305, allocations: 12 kB / 276.7 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.08306, allocations: 4 kB / 276.7 MB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.08306, allocations: 4.031 kB / 276.7 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.08595, allocations: 2.405 MB / 279.1 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.08596, allocations: 4 kB / 279.1 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.08644, allocations: 216.1 kB / 279.4 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.08678, allocations: 194.9 kB / 279.5 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005935/0.08738, allocations: 305.5 kB / 279.8 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.08743, allocations: 31.98 kB / 279.9 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1012/0.1886, allocations: 5.892 MB / 285.8 MB, free: 45.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.1886, allocations: 7.094 kB / 285.8 MB, free: 45.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.1907, allocations: 1.242 MB / 287 MB, free: 44.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/0.191, allocations: 33.83 kB / 287 MB, free: 44.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.1914, allocations: 46.3 kB / 287.1 MB, free: 44.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.1916, allocations: 98.12 kB / 287.2 MB, free: 44.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.1916, allocations: 32.91 kB / 287.2 MB, free: 44.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006319/0.1922, allocations: 483 kB / 287.7 MB, free: 44.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1922, allocations: 0.5469 kB / 287.7 MB, free: 44.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001317/0.1936, allocations: 451.6 kB / 288.1 MB, free: 44.85 MB / 282.7 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%), (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.0003241/0.1939, allocations: 171 kB / 288.3 MB, free: 44.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.1954, allocations: 1.146 MB / 289.4 MB, free: 44.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.55e-05/0.1955, allocations: 29.14 kB / 289.5 MB, free: 44.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009582/0.1964, allocations: 0.9316 MB / 290.4 MB, free: 43.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.1975, allocations: 482.4 kB / 290.9 MB, free: 43.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/0.2163, allocations: 3.758 MB / 294.6 MB, free: 42.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/0.2171, allocations: 0.5085 MB / 295.1 MB, free: 42.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008542/0.218, allocations: 192.1 kB / 295.3 MB, free: 42.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007325/0.2187, allocations: 374.9 kB / 295.7 MB, free: 42.1 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.2187, allocations: 0 / 295.7 MB, free: 42.1 MB / 282.7 MB Notification: Performance of Templates: time 0.03351/0.2522, allocations: 24.59 MB / 320.3 MB, free: 24.29 MB / 282.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) [Timeout 240] 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","",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.341868565417826]