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.001677/0.001677, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001527/0.001527, allocations: 168.3 kB / 25.33 MB, free: 9.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.977/0.977, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.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.403e-06/1.403e-06, allocations: 0 / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.575e-05, allocations: 2.312 kB / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01133/0.01135, allocations: 9.525 MB / 260.6 MB, free: 10 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006821/0.01817, allocations: 3.113 MB / 263.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.01992, allocations: 63.56 kB / 263.8 MB, free: 6.816 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.02197, allocations: 0.6674 MB / 264.4 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.02494, allocations: 0.8459 MB / 265.3 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.02597, allocations: 399.3 kB / 265.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003379/0.02935, allocations: 2.641 MB / 268.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.03131, allocations: 1.244 MB / 269.6 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.03461, allocations: 2.016 MB / 271.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.03703, allocations: 1.321 MB / 272.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007725/0.03781, allocations: 308 kB / 273.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.03888, allocations: 407.7 kB / 273.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008555/0.03973, allocations: 0.9036 MB / 274.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.04136, allocations: 0.9588 MB / 275.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.04484, allocations: 2.247 MB / 277.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.04485, allocations: 0 / 277.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.04485, allocations: 0 / 277.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001037/0.04496, allocations: 0 / 277.7 MB, free: 8.777 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005618/0.05057, allocations: 2.973 MB / 280.7 MB, free: 5.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.05063, allocations: 15.98 kB / 280.7 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.05168, allocations: 479.1 kB / 281.2 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.05408, allocations: 1.341 MB / 282.5 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.05423, allocations: 160.6 kB / 282.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.05456, allocations: 208.4 kB / 282.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.05843, allocations: 1.728 MB / 284.6 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.39e-05/0.0585, allocations: 7.953 kB / 284.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/0.05869, allocations: 91.98 kB / 284.7 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/0.05884, allocations: 104.2 kB / 284.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.06136, allocations: 0.7934 MB / 285.6 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.07277, allocations: 6.873 MB / 292.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.07399, allocations: 0.7025 MB / 293.2 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006795/0.07467, allocations: 0.4935 MB / 293.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.07485, allocations: 56.97 kB / 293.7 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.0749, allocations: 46.39 kB / 293.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=101): time 3.887e-06/0.0749, allocations: 0 / 293.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.004901/0.0798, allocations: 3.031 MB / 296.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.07999, allocations: 76.33 kB / 296.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.08143, allocations: 1.154 MB / 298 MB, free: 3.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.0815, allocations: 45.7 kB / 298.1 MB, free: 3.836 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/0.08221, allocations: 1.14 MB / 299.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.08253, allocations: 436.4 kB / 299.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/0.08288, allocations: 257.2 kB / 299.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.08306, allocations: 0.5394 MB / 300.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.08377, allocations: 219.8 kB / 300.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.08451, allocations: 0.7638 MB / 301.4 MB, free: 252 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.112/0.1965, allocations: 1.084 MB / 302.5 MB, free: 49.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.1965, allocations: 4.531 kB / 302.5 MB, free: 49.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002184/0.1987, allocations: 1.321 MB / 303.8 MB, free: 49.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1987, allocations: 14.28 kB / 303.8 MB, free: 49.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.1987, allocations: 11.94 kB / 303.8 MB, free: 49.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/0.1994, allocations: 251.3 kB / 304.1 MB, free: 49.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.2001, allocations: 310.7 kB / 304.4 MB, free: 49.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00326/0.2034, allocations: 6.609 MB / 311 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/0.2041, allocations: 88.62 kB / 311.1 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/0.2042, allocations: 58.66 kB / 311.1 MB, free: 43.46 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.0004596/0.2046, allocations: 242.4 kB / 311.4 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.2048, allocations: 191.3 kB / 311.5 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.2065, allocations: 1.074 MB / 312.6 MB, free: 43.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.2065, allocations: 11.88 kB / 312.6 MB, free: 43.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.2065, allocations: 5.156 kB / 312.6 MB, free: 43.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.2065, allocations: 9.375 kB / 312.6 MB, free: 43.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/0.2104, allocations: 2.971 MB / 315.6 MB, free: 42.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.2104, allocations: 6.531 kB / 315.6 MB, free: 42.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.2109, allocations: 196.9 kB / 315.8 MB, free: 42.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006305/0.2116, allocations: 285.9 kB / 316.1 MB, free: 42.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.2116, allocations: 34.34 kB / 316.1 MB, free: 42.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.2147, allocations: 8.332 MB / 324.5 MB, free: 35.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2147, allocations: 3.875 kB / 324.5 MB, free: 35.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.2164, allocations: 1.612 MB / 326.1 MB, free: 34.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.2168, allocations: 275.2 kB / 326.3 MB, free: 34.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2169, allocations: 26.16 kB / 326.4 MB, free: 34.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.2172, allocations: 63.97 kB / 326.4 MB, free: 34.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.2174, allocations: 104.2 kB / 326.5 MB, free: 34.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.2174, allocations: 36.83 kB / 326.6 MB, free: 34.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006191/0.2181, allocations: 0.6761 MB / 327.2 MB, free: 33.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2181, allocations: 0 / 327.2 MB, free: 33.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001331/0.2194, allocations: 448.9 kB / 327.7 MB, free: 33.78 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.0003156/0.2197, allocations: 192.7 kB / 327.9 MB, free: 33.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.2214, allocations: 1.466 MB / 329.3 MB, free: 32.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2214, allocations: 0.9375 kB / 329.3 MB, free: 32.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008444/0.2222, allocations: 1.235 MB / 330.6 MB, free: 32.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009435/0.2232, allocations: 376.9 kB / 330.9 MB, free: 31.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.2271, allocations: 3.812 MB / 334.8 MB, free: 28.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.2275, allocations: 0.5584 MB / 335.3 MB, free: 28.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005095/0.228, allocations: 292.5 kB / 335.6 MB, free: 27.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.2282, allocations: 112.2 kB / 335.7 MB, free: 27.78 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2282, allocations: 0 / 335.7 MB, free: 27.78 MB / 282.7 MB Notification: Performance of Templates: time 0.02382/0.252, allocations: 23.23 MB / 358.9 MB, free: 4.785 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 -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.568365703802556]