Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.001828/0.001828, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 14.72 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.002263/0.002263, allocations: 163.1 kB / 24.5 MB, free: 3.449 MB / 14.72 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 1.484/1.484, allocations: 177.1 MB / 204.7 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] 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.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.is.1.|smpm.is.2.|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 58.09 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09166/0.09355, allocations: 53.4 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01222/0.1058, allocations: 9.151 MB / 388.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007096/0.1129, allocations: 3.291 MB / 391.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.1142, allocations: 67.56 kB / 391.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.1164, allocations: 0.7568 MB / 392.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.1192, allocations: 0.8932 MB / 393.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1203, allocations: 423.4 kB / 393.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003753/0.1241, allocations: 2.766 MB / 396.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.1264, allocations: 1.305 MB / 397.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.1285, allocations: 1.293 MB / 398.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/0.1314, allocations: 1.525 MB / 400.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006925/0.1321, allocations: 332 kB / 400.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1333, allocations: 443.8 kB / 401.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.1344, allocations: 0.9504 MB / 402.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.136, allocations: 1.213 MB / 403.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004942/0.141, allocations: 4.441 MB / 407.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.141, allocations: 0 / 407.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.141, allocations: 0 / 407.8 MB, free: 2.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.792e-05/0.141, allocations: 0 / 407.8 MB, free: 2.477 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.00632/0.1474, allocations: 3.073 MB / 410.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1474, allocations: 11.98 kB / 410.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.1483, allocations: 331 kB / 411.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.1512, allocations: 1.555 MB / 412.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.1513, allocations: 172.3 kB / 412.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.1517, allocations: 223.9 kB / 413.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.1568, allocations: 3.017 MB / 416.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.036e-05/0.1568, allocations: 4 kB / 416.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.157, allocations: 99.97 kB / 416.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.1572, allocations: 112.3 kB / 416.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004261/0.1614, allocations: 2.426 MB / 418.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.1749, allocations: 7.835 MB / 426.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.1771, allocations: 1.163 MB / 427.8 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.1789, allocations: 0.9254 MB / 428.7 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.1792, allocations: 56.89 kB / 428.7 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.1792, allocations: 47.56 kB / 428.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=105): time 3.116e-06/0.1792, allocations: 0 / 428.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=122): time 0.01466/0.1939, allocations: 6.058 MB / 434.8 MB, free: 6.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.1939, allocations: 68.41 kB / 434.9 MB, free: 6.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/0.1963, allocations: 1.421 MB / 436.3 MB, free: 5.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.992e-05/0.1964, allocations: 45.7 kB / 436.4 MB, free: 5.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009159/0.1974, allocations: 1.145 MB / 437.5 MB, free: 4.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.1977, allocations: 456.2 kB / 438 MB, free: 3.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/0.1982, allocations: 271.5 kB / 438.2 MB, free: 3.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1983, allocations: 305.1 kB / 438.5 MB, free: 3.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.1996, allocations: 0.7105 MB / 439.2 MB, free: 2.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.2011, allocations: 1.142 MB / 440.4 MB, free: 1.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/0.2041, allocations: 1.971 MB / 442.4 MB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.2041, allocations: 4 kB / 442.4 MB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004412/0.2085, allocations: 2.417 MB / 444.8 MB, free: 12.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.2085, allocations: 19.94 kB / 444.8 MB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.2086, allocations: 12 kB / 444.8 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2096, allocations: 434.5 kB / 445.2 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.2109, allocations: 351.4 kB / 445.6 MB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007517/0.2184, allocations: 6.686 MB / 452.3 MB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.2199, allocations: 111.9 kB / 452.4 MB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.2201, allocations: 63.98 kB / 452.4 MB, free: 4.523 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (169): * Single equations (assignments): 165 * 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,12,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.001411/0.2215, allocations: 0.7162 MB / 453.1 MB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/0.222, allocations: 166.9 kB / 453.3 MB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.2262, allocations: 2.102 MB / 455.4 MB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.2263, allocations: 12 kB / 455.4 MB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.2263, allocations: 8 kB / 455.4 MB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.2263, allocations: 7.969 kB / 455.4 MB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008912/0.2352, allocations: 4.118 MB / 459.6 MB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.2352, allocations: 8.062 kB / 459.6 MB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009926/0.2362, allocations: 223.6 kB / 459.8 MB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.2374, allocations: 450.6 kB / 460.2 MB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.2375, allocations: 43.92 kB / 460.3 MB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009354/0.2469, allocations: 8.132 MB / 468.4 MB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.2469, allocations: 4 kB / 468.4 MB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/0.2525, allocations: 3.116 MB / 471.5 MB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009122/0.2534, allocations: 318.7 kB / 471.8 MB, free: 484 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003494/0.2538, allocations: 31.94 kB / 471.9 MB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.2548, allocations: 91.83 kB / 471.9 MB, free: 360 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.2551, allocations: 100.8 kB / 472 MB, free: 260 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.385e-05/0.2551, allocations: 39.92 kB / 472.1 MB, free: 220 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.1863/0.4414, allocations: 0.951 MB / 473 MB, free: 82.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4414, allocations: 0 / 473 MB, free: 82.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001947/0.4434, allocations: 486.4 kB / 473.5 MB, free: 82.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],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 (107): * Single equations (assignments): 103 * 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,12,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.0003385/0.4437, allocations: 200.7 kB / 473.7 MB, free: 82.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.4471, allocations: 2.139 MB / 475.8 MB, free: 82.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4471, allocations: 1.375 kB / 475.8 MB, free: 82.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00213/0.4492, allocations: 1.422 MB / 477.3 MB, free: 81.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.4513, allocations: 429.5 kB / 477.7 MB, free: 81.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.4582, allocations: 4.745 MB / 482.4 MB, free: 79.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.4598, allocations: 1.298 MB / 483.7 MB, free: 79.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001154/0.4609, allocations: 378.2 kB / 484.1 MB, free: 78.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.4612, allocations: 116 kB / 484.2 MB, free: 78.95 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4612, allocations: 0 / 484.2 MB, free: 78.95 MB / 430.1 MB Notification: Performance of Templates: time 0.03501/0.4962, allocations: 25.6 MB / 0.4979 GB, free: 59.79 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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: 5.776555549935438]