Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.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.0009259/0.0009259, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00546/0.00546, allocations: 161.2 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8679/0.8679, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.344e-05, allocations: 4.672 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.007249/0.007272, allocations: 8.596 MB / 334.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.01152, allocations: 2.991 MB / 337.4 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007545/0.01228, allocations: 71.5 kB / 337.5 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.0133, allocations: 0.6674 MB / 338.2 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.01467, allocations: 0.842 MB / 339 MB, free: 2.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.01516, allocations: 399.3 kB / 339.4 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.0169, allocations: 2.649 MB / 342 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.01805, allocations: 1.264 MB / 343.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.01999, allocations: 1.774 MB / 345.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.02178, allocations: 1.298 MB / 346.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.02229, allocations: 316 kB / 346.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.023, allocations: 427.7 kB / 347.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007506/0.02375, allocations: 0.931 MB / 348 MB, free: 9.082 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009641/0.02472, allocations: 0.9783 MB / 349 MB, free: 8.102 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.02743, allocations: 4.218 MB / 353.2 MB, free: 3.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02744, allocations: 8 kB / 353.2 MB, free: 3.863 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02744, allocations: 0 / 353.2 MB, free: 3.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.401e-05/0.02748, allocations: 0 / 353.2 MB, free: 3.863 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.003523/0.03101, allocations: 2.873 MB / 356.1 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.03106, allocations: 12.03 kB / 356.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005618/0.03162, allocations: 311.2 kB / 356.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.03342, allocations: 1.478 MB / 357.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.85e-05/0.03351, allocations: 164.6 kB / 358.1 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.03372, allocations: 216.3 kB / 358.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.03692, allocations: 2.892 MB / 361.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.03697, allocations: 11.94 kB / 361.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.03711, allocations: 87.98 kB / 361.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.187e-05/0.03719, allocations: 104.2 kB / 361.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003903/0.04109, allocations: 2.347 MB / 363.7 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.05237, allocations: 7.371 MB / 371.1 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.05379, allocations: 1.175 MB / 372.3 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.05481, allocations: 0.8978 MB / 373.2 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.05498, allocations: 48.95 kB / 373.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.055, allocations: 47.5 kB / 373.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=101): time 2.755e-06/0.055, allocations: 0 / 373.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=116): time 0.007489/0.06249, allocations: 5.709 MB / 379 MB, free: 9.621 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.06254, allocations: 72.34 kB / 379 MB, free: 9.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.06381, allocations: 1.309 MB / 380.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.06387, allocations: 45.7 kB / 380.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.06442, allocations: 1.074 MB / 381.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.06465, allocations: 420.4 kB / 381.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003024/0.06495, allocations: 259.5 kB / 382.1 MB, free: 6.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.06509, allocations: 361.9 kB / 382.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.0658, allocations: 0.6832 MB / 383.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.06669, allocations: 1.078 MB / 384.2 MB, free: 4.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.06853, allocations: 1.864 MB / 386.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.06853, allocations: 4 kB / 386.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002581/0.07112, allocations: 2.323 MB / 388.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.07114, allocations: 12 kB / 388.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.07117, allocations: 12 kB / 388.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.07181, allocations: 415.2 kB / 388.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.0725, allocations: 335.5 kB / 389.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005083/0.07758, allocations: 6.608 MB / 395.8 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009359/0.07851, allocations: 103.9 kB / 395.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/0.0786, allocations: 59.98 kB / 396 MB, free: 7.91 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.001146/0.07974, allocations: 0.6889 MB / 396.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.07998, allocations: 155 kB / 396.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.08238, allocations: 2.038 MB / 398.8 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.08239, allocations: 12 kB / 398.9 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.0824, allocations: 11.92 kB / 398.9 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.08241, allocations: 3.984 kB / 398.9 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004516/0.08693, allocations: 3.942 MB / 402.8 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.08693, allocations: 4 kB / 402.8 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.08739, allocations: 216.1 kB / 403 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006283/0.08802, allocations: 450.7 kB / 403.5 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.08809, allocations: 35.98 kB / 403.5 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005025/0.09311, allocations: 8.057 MB / 411.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.09312, allocations: 7.938 kB / 411.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.09627, allocations: 3.012 MB / 414.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/0.09673, allocations: 294.9 kB / 414.9 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.09683, allocations: 28 kB / 414.9 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.09726, allocations: 83.89 kB / 415 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.09743, allocations: 100.7 kB / 415.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.09747, allocations: 39.98 kB / 415.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009152/0.09839, allocations: 0.8798 MB / 416 MB, free: 3.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09839, allocations: 0 / 416 MB, free: 3.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001273/0.09966, allocations: 455.9 kB / 416.4 MB, free: 2.824 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.0003021/0.09996, allocations: 202 kB / 416.6 MB, free: 2.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.1021, allocations: 2.078 MB / 418.7 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1021, allocations: 0 / 418.7 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.1034, allocations: 1.393 MB / 420.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/0.1043, allocations: 372 kB / 420.5 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.1092, allocations: 4.376 MB / 424.8 MB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.1102, allocations: 1.215 MB / 426.1 MB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.1104, allocations: 120.5 kB / 426.2 MB, free: 8.863 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1104, allocations: 0 / 426.2 MB, free: 8.863 MB / 394.7 MB Notification: Performance of Templates: time 0.188/0.2984, allocations: 69.23 MB / 495.4 MB, free: 79.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 8.32355538289994]