Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009007/0.0009007, allocations: 84.34 kB / 21.44 MB, free: 3.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004125/0.004125, allocations: 153.5 kB / 24.69 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8998/0.8998, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.29e-05, allocations: 6.219 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.006905/0.006928, allocations: 8.572 MB / 334.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004759/0.01169, allocations: 2.995 MB / 337.4 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007577/0.01244, allocations: 71.5 kB / 337.4 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.01355, allocations: 0.6713 MB / 338.1 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.01506, allocations: 0.8342 MB / 338.9 MB, free: 2.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.01564, allocations: 411.3 kB / 339.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.01753, allocations: 2.641 MB / 342 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.01877, allocations: 1.26 MB / 343.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.02043, allocations: 1.774 MB / 345 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.02175, allocations: 1.298 MB / 346.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.0221, allocations: 316 kB / 346.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.02256, allocations: 431.7 kB / 347 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005355/0.0231, allocations: 0.9388 MB / 348 MB, free: 9.039 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007313/0.02383, allocations: 0.9666 MB / 349 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.02633, allocations: 4.222 MB / 353.2 MB, free: 3.836 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.02633, allocations: 0 / 353.2 MB, free: 3.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02633, allocations: 0 / 353.2 MB, free: 3.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.02635, allocations: 0 / 353.2 MB, free: 3.836 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.003034/0.02939, allocations: 2.885 MB / 356.1 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.02942, allocations: 15.98 kB / 356.1 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004449/0.02987, allocations: 307.2 kB / 356.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.03147, allocations: 1.471 MB / 357.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.03155, allocations: 160.5 kB / 358 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.03175, allocations: 216.3 kB / 358.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.03447, allocations: 2.904 MB / 361.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.0345, allocations: 7.922 kB / 361.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.03464, allocations: 91.98 kB / 361.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/0.03471, allocations: 108.2 kB / 361.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.0371, allocations: 2.335 MB / 363.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007025/0.04412, allocations: 7.382 MB / 371 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.04552, allocations: 1.167 MB / 372.2 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.04655, allocations: 0.9007 MB / 373.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.04672, allocations: 49.92 kB / 373.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.04675, allocations: 47.56 kB / 373.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=101): time 3.617e-06/0.04676, allocations: 0 / 373.2 MB, free: 15.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=116): time 0.007379/0.05414, allocations: 5.709 MB / 378.9 MB, free: 9.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.05418, allocations: 68.34 kB / 379 MB, free: 9.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.05529, allocations: 1.305 MB / 380.3 MB, free: 8.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.05535, allocations: 49.64 kB / 380.3 MB, free: 8.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/0.0558, allocations: 1.07 MB / 381.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.056, allocations: 432.3 kB / 381.8 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.05624, allocations: 255.5 kB / 382.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.05634, allocations: 361.9 kB / 382.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000695/0.05703, allocations: 0.691 MB / 383.1 MB, free: 5.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/0.05788, allocations: 1.066 MB / 384.2 MB, free: 4.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.05954, allocations: 1.864 MB / 386 MB, free: 2.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.05954, allocations: 7.984 kB / 386.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00229/0.06183, allocations: 2.323 MB / 388.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.06185, allocations: 11.94 kB / 388.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.06186, allocations: 12 kB / 388.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/0.06242, allocations: 411.4 kB / 388.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.06303, allocations: 327.5 kB / 389.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004/0.06703, allocations: 6.615 MB / 395.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.06758, allocations: 99.84 kB / 395.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.06764, allocations: 60 kB / 395.9 MB, free: 7.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.000793/0.06844, allocations: 0.689 MB / 396.6 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.06859, allocations: 151 kB / 396.7 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.07065, allocations: 2.046 MB / 398.8 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.07066, allocations: 12 kB / 398.8 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.07067, allocations: 11.94 kB / 398.8 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.07068, allocations: 7.969 kB / 398.8 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/0.0746, allocations: 3.946 MB / 402.8 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.07461, allocations: 4 kB / 402.8 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/0.07505, allocations: 215.7 kB / 403 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000583/0.07564, allocations: 447.2 kB / 403.4 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.07569, allocations: 31.98 kB / 403.4 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/0.0802, allocations: 8.053 MB / 411.5 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.0802, allocations: 7.938 kB / 411.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.08299, allocations: 3.012 MB / 414.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.08338, allocations: 290.9 kB / 414.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.08348, allocations: 31.98 kB / 414.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.08388, allocations: 83.91 kB / 414.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.08403, allocations: 100.7 kB / 415 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.08407, allocations: 36 kB / 415 MB, free: 4.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007755/0.08485, allocations: 0.8759 MB / 415.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08485, allocations: 0 / 415.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009886/0.08584, allocations: 459.9 kB / 416.4 MB, free: 2.797 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (102): * Single equations (assignments): 98 * 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.0002612/0.0861, allocations: 202.8 kB / 416.6 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.08831, allocations: 2.079 MB / 418.6 MB, free: 480 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.08831, allocations: 320 / 418.6 MB, free: 480 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.08951, allocations: 1.399 MB / 420 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.09037, allocations: 359.8 kB / 420.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.0946, allocations: 4.384 MB / 424.8 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/0.09541, allocations: 1.215 MB / 426 MB, free: 8.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.09565, allocations: 116.5 kB / 426.1 MB, free: 8.832 MB / 394.7 MB Notification: Performance of SimCode: time 9.11e-07/0.09565, allocations: 3.938 kB / 426.1 MB, free: 8.828 MB / 394.7 MB Notification: Performance of Templates: time 0.1627/0.2584, allocations: 69.24 MB / 495.3 MB, free: 79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.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: 7.425385823473334]