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.001172/0.001172, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009158/0.0009158, allocations: 158.3 kB / 25.45 MB, free: 8.859 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.8691/0.8691, allocations: 158.6 MB / 187.2 MB, free: 3.031 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.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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.989e-05, allocations: 2.281 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.009039/0.009059, allocations: 8.486 MB / 308.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005087/0.01415, allocations: 2.984 MB / 311.2 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008009/0.01495, allocations: 63.5 kB / 311.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.01627, allocations: 0.6751 MB / 311.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.01795, allocations: 0.8304 MB / 312.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006542/0.01861, allocations: 403.2 kB / 313.1 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002317/0.02092, allocations: 2.657 MB / 315.8 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.02241, allocations: 1.228 MB / 317 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.02432, allocations: 1.758 MB / 318.8 MB, free: 3.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.02587, allocations: 1.298 MB / 320.1 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003661/0.02624, allocations: 316 kB / 320.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.02682, allocations: 419.7 kB / 320.8 MB, free: 1.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007136/0.02753, allocations: 0.9388 MB / 321.7 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009306/0.02846, allocations: 0.9705 MB / 322.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.03103, allocations: 4.21 MB / 326.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.03103, allocations: 0 / 326.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03103, allocations: 0 / 326.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.03107, allocations: 0 / 326.9 MB, free: 11.52 MB / 314.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.003191/0.03426, allocations: 2.869 MB / 329.8 MB, free: 8.602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.0343, allocations: 19.98 kB / 329.8 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.03474, allocations: 299.2 kB / 330.1 MB, free: 8.289 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.03622, allocations: 1.373 MB / 331.5 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.03631, allocations: 160.6 kB / 331.6 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.03651, allocations: 216.2 kB / 331.9 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.03937, allocations: 2.896 MB / 334.7 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.03941, allocations: 7.891 kB / 334.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.03955, allocations: 91.98 kB / 334.8 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.493e-05/0.03963, allocations: 104.2 kB / 334.9 MB, free: 3.289 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.04211, allocations: 2.343 MB / 337.3 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007014/0.04913, allocations: 7.366 MB / 344.7 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.05049, allocations: 1.197 MB / 345.9 MB, free: 8.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000985/0.05147, allocations: 0.8966 MB / 346.7 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.05163, allocations: 52.97 kB / 346.8 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.05165, allocations: 47.5 kB / 346.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=101): time 2.816e-06/0.05166, allocations: 0 / 346.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.007043/0.0587, allocations: 5.655 MB / 352.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.05874, allocations: 64.34 kB / 352.6 MB, free: 1.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.0599, allocations: 1.301 MB / 353.9 MB, free: 48 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.1181/0.178, allocations: 44.56 kB / 353.9 MB, free: 59.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.1787, allocations: 1.059 MB / 355 MB, free: 59.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/0.179, allocations: 422.1 kB / 355.4 MB, free: 59.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.1794, allocations: 255.3 kB / 355.6 MB, free: 59.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.1794, allocations: 359.3 kB / 356 MB, free: 58.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008261/0.1802, allocations: 0.6875 MB / 356.7 MB, free: 58.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008091/0.1811, allocations: 1.07 MB / 357.7 MB, free: 58.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.1826, allocations: 1.862 MB / 359.6 MB, free: 57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.1826, allocations: 2.656 kB / 359.6 MB, free: 57 MB / 330.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002531/0.1851, allocations: 2.327 MB / 361.9 MB, free: 56.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1851, allocations: 9.5 kB / 361.9 MB, free: 56.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.1852, allocations: 11.66 kB / 362 MB, free: 56.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.1858, allocations: 407.5 kB / 362.3 MB, free: 55.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.1864, allocations: 329.5 kB / 362.7 MB, free: 55.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/0.19, allocations: 6.618 MB / 369.3 MB, free: 50.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/0.1906, allocations: 94.98 kB / 369.4 MB, free: 50.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.1907, allocations: 60.47 kB / 369.4 MB, free: 50.89 MB / 330.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.0007895/0.1915, allocations: 0.6917 MB / 370.1 MB, free: 50.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.1916, allocations: 153.2 kB / 370.3 MB, free: 50.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.1936, allocations: 2.019 MB / 372.3 MB, free: 49.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1936, allocations: 15.53 kB / 372.3 MB, free: 49.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1936, allocations: 3.906 kB / 372.3 MB, free: 49.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.1936, allocations: 7.312 kB / 372.3 MB, free: 49.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/0.197, allocations: 3.931 MB / 376.3 MB, free: 47.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.197, allocations: 8.094 kB / 376.3 MB, free: 47.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.1974, allocations: 211.7 kB / 376.5 MB, free: 47.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/0.1979, allocations: 452.1 kB / 376.9 MB, free: 46.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.198, allocations: 31.98 kB / 376.9 MB, free: 46.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003176/0.2011, allocations: 8.06 MB / 385 MB, free: 38.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2011, allocations: 15.72 kB / 385 MB, free: 38.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.2034, allocations: 3.017 MB / 388 MB, free: 35.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.2037, allocations: 286.9 kB / 388.3 MB, free: 35.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.2038, allocations: 35.98 kB / 388.4 MB, free: 35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.2042, allocations: 83.84 kB / 388.4 MB, free: 34.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.2043, allocations: 92.77 kB / 388.5 MB, free: 34.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.2043, allocations: 39.98 kB / 388.6 MB, free: 34.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006106/0.2049, allocations: 0.8757 MB / 389.4 MB, free: 33.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2049, allocations: 4 kB / 389.4 MB, free: 33.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009014/0.2058, allocations: 463.9 kB / 389.9 MB, free: 33.46 MB / 330.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%), (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.0002447/0.2061, allocations: 193.5 kB / 390.1 MB, free: 33.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.2078, allocations: 2.076 MB / 392.2 MB, free: 31.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2078, allocations: 4 kB / 392.2 MB, free: 31.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009825/0.2088, allocations: 1.391 MB / 393.6 MB, free: 29.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.2096, allocations: 359.6 kB / 393.9 MB, free: 29.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.2131, allocations: 4.398 MB / 398.3 MB, free: 24.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.2137, allocations: 1.219 MB / 399.5 MB, free: 23.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.2139, allocations: 116.5 kB / 399.6 MB, free: 23.52 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2139, allocations: 2.297 kB / 399.6 MB, free: 23.52 MB / 330.7 MB Notification: Performance of Templates: time 0.03756/0.2515, allocations: 69.1 MB / 468.7 MB, free: 2.289 MB / 378.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=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: 8.493317008949816]