Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_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.001319/0.001319, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001434/0.001434, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.429/1.429, allocations: 177.2 MB / 204.9 MB, free: 9.066 MB / 190.1 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 54.89 kB / 325.6 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09564, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01196/0.1076, allocations: 9.151 MB / 388.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006513/0.1141, allocations: 3.287 MB / 391.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.1155, allocations: 71.5 kB / 391.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.1173, allocations: 0.753 MB / 392.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.1196, allocations: 0.9009 MB / 393.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009832/0.1206, allocations: 415.4 kB / 393.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003524/0.1242, allocations: 2.763 MB / 396.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.126, allocations: 1.305 MB / 397.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.1279, allocations: 1.304 MB / 398.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.1301, allocations: 1.514 MB / 400.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004475/0.1305, allocations: 332 kB / 400.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008246/0.1314, allocations: 443.8 kB / 401.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.1324, allocations: 0.9543 MB / 402.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.1338, allocations: 1.217 MB / 403.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004838/0.1386, allocations: 4.433 MB / 407.7 MB, free: 2.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1386, allocations: 0 / 407.7 MB, free: 2.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1386, allocations: 0 / 407.7 MB, free: 2.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.589e-05/0.1387, allocations: 4 kB / 407.7 MB, free: 2.711 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.0061/0.1448, allocations: 3.069 MB / 410.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1448, allocations: 8.031 kB / 410.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.1457, allocations: 335 kB / 411.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.1486, allocations: 1.555 MB / 412.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.1488, allocations: 176.4 kB / 412.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.1491, allocations: 219.9 kB / 413.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005099/0.1542, allocations: 3.017 MB / 416.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.916e-05/0.1543, allocations: 4 kB / 416.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.1545, allocations: 95.98 kB / 416.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.1546, allocations: 112.3 kB / 416.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/0.159, allocations: 2.426 MB / 418.7 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.1725, allocations: 7.835 MB / 426.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.1748, allocations: 1.175 MB / 427.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.1766, allocations: 0.917 MB / 428.7 MB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.1768, allocations: 56.91 kB / 428.7 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.1769, allocations: 47.5 kB / 428.8 MB, free: 13.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=105): time 3.106e-06/0.1769, allocations: 3.938 kB / 428.8 MB, free: 13.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=122): time 0.01466/0.1915, allocations: 6.062 MB / 434.8 MB, free: 7.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.1916, allocations: 64.41 kB / 434.9 MB, free: 7.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.1939, allocations: 1.421 MB / 436.3 MB, free: 5.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/0.194, allocations: 45.7 kB / 436.4 MB, free: 5.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009119/0.1949, allocations: 1.145 MB / 437.5 MB, free: 4.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/0.1953, allocations: 456.2 kB / 437.9 MB, free: 3.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/0.1958, allocations: 279.4 kB / 438.2 MB, free: 3.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1959, allocations: 301.1 kB / 438.5 MB, free: 3.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.1972, allocations: 0.7144 MB / 439.2 MB, free: 2.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.1989, allocations: 1.134 MB / 440.4 MB, free: 1.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.202, allocations: 1.967 MB / 442.3 MB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.202, allocations: 4 kB / 442.3 MB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004748/0.2068, allocations: 2.429 MB / 444.8 MB, free: 12.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.2068, allocations: 19.88 kB / 444.8 MB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.2068, allocations: 12 kB / 444.8 MB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.2079, allocations: 430.9 kB / 445.2 MB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.2093, allocations: 343.5 kB / 445.6 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007913/0.2172, allocations: 6.694 MB / 452.2 MB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.2186, allocations: 111.8 kB / 452.4 MB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.2188, allocations: 60 kB / 452.4 MB, free: 4.75 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.001324/0.2201, allocations: 0.7163 MB / 453.1 MB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/0.2205, allocations: 170.9 kB / 453.3 MB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.2246, allocations: 2.106 MB / 455.4 MB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.2246, allocations: 12 kB / 455.4 MB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.2246, allocations: 7.938 kB / 455.4 MB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.2246, allocations: 3.984 kB / 455.4 MB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008021/0.2326, allocations: 4.13 MB / 459.6 MB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.2326, allocations: 4 kB / 459.6 MB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.2336, allocations: 223.6 kB / 459.8 MB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.2348, allocations: 447.2 kB / 460.2 MB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.2349, allocations: 35.98 kB / 460.2 MB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009412/0.2443, allocations: 8.131 MB / 468.4 MB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.2444, allocations: 4 kB / 468.4 MB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005955/0.2503, allocations: 3.12 MB / 471.5 MB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009743/0.2513, allocations: 318.7 kB / 471.8 MB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/0.2516, allocations: 31.98 kB / 471.8 MB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.2527, allocations: 83.91 kB / 471.9 MB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/0.253, allocations: 108.7 kB / 472 MB, free: 492 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.553e-05/0.2531, allocations: 35.98 kB / 472.1 MB, free: 456 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.198/0.451, allocations: 0.9484 MB / 473 MB, free: 82.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.451, allocations: 2.406 kB / 473 MB, free: 82.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002553/0.4536, allocations: 488.7 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.0003863/0.454, allocations: 197.9 kB / 473.7 MB, free: 82.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003663/0.4576, allocations: 2.15 MB / 475.8 MB, free: 82.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.4577, allocations: 1.375 kB / 475.8 MB, free: 82.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002243/0.4599, allocations: 1.42 MB / 477.3 MB, free: 81.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.462, allocations: 425.8 kB / 477.7 MB, free: 81.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/0.4691, allocations: 4.734 MB / 482.4 MB, free: 79.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.4707, allocations: 1.299 MB / 483.7 MB, free: 79.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001217/0.4719, allocations: 373.6 kB / 484.1 MB, free: 79.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.4722, allocations: 116.6 kB / 484.2 MB, free: 79 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4723, allocations: 0 / 484.2 MB, free: 79 MB / 430.1 MB Notification: Performance of Templates: time 0.03685/0.5091, allocations: 25.63 MB / 0.4979 GB, free: 60.24 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.501203762949444]