Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 73.48 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 150 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 173.4 MB / 201.1 MB, free: 12.67 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 46.73 kB / 319.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08809, allocations: 52.17 MB / 371.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter): time 0.01232/0.1004, allocations: 9.114 MB / 380.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006169/0.1066, allocations: 3.233 MB / 383.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007948/0.1074, allocations: 75.5 kB / 384 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.1092, allocations: 0.7569 MB / 384.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.1113, allocations: 0.8815 MB / 385.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.1122, allocations: 427.4 kB / 386.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003293/0.1155, allocations: 2.747 MB / 388.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.1174, allocations: 1.298 MB / 390.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.1192, allocations: 1.297 MB / 391.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.1216, allocations: 1.521 MB / 392.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004756/0.1221, allocations: 332 kB / 393.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008263/0.1229, allocations: 431.8 kB / 393.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009994/0.1239, allocations: 0.9543 MB / 394.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.1253, allocations: 1.213 MB / 395.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004845/0.1302, allocations: 4.426 MB / 400.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1302, allocations: 0 / 400.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1302, allocations: 0 / 400.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.483e-05/0.1303, allocations: 0 / 400.3 MB, free: 10.46 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.006252/0.1365, allocations: 3.049 MB / 403.3 MB, free: 7.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1366, allocations: 8.922 kB / 403.3 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000796/0.1373, allocations: 327 kB / 403.6 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.1403, allocations: 1.555 MB / 405.2 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.1404, allocations: 180.3 kB / 405.4 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003506/0.1408, allocations: 220 kB / 405.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/0.146, allocations: 3.013 MB / 408.6 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.079e-05/0.1461, allocations: 8 kB / 408.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.1463, allocations: 95.97 kB / 408.7 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.1465, allocations: 108.3 kB / 408.8 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00453/0.151, allocations: 2.43 MB / 411.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.1654, allocations: 7.839 MB / 419.1 MB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.1677, allocations: 1.186 MB / 420.3 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.1696, allocations: 0.9131 MB / 421.2 MB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.1698, allocations: 56.89 kB / 421.2 MB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.1699, allocations: 47.56 kB / 421.3 MB, free: 4.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 3.887e-06/0.1699, allocations: 0 / 421.3 MB, free: 4.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=122): time 0.01485/0.1847, allocations: 6.04 MB / 427.3 MB, free: 14.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1848, allocations: 68.41 kB / 427.4 MB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.187, allocations: 1.409 MB / 428.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.972e-05/0.1871, allocations: 45.7 kB / 428.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009601/0.1881, allocations: 1.153 MB / 430 MB, free: 12.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/0.1885, allocations: 448.2 kB / 430.4 MB, free: 11.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004597/0.1889, allocations: 275.5 kB / 430.7 MB, free: 11.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1891, allocations: 305.1 kB / 431 MB, free: 11.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.1904, allocations: 0.7066 MB / 431.7 MB, free: 10.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.1921, allocations: 1.142 MB / 432.8 MB, free: 9.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003211/0.1953, allocations: 1.971 MB / 434.8 MB, free: 6.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.1953, allocations: 4 kB / 434.8 MB, free: 6.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004599/0.1999, allocations: 2.429 MB / 437.2 MB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.2, allocations: 16.22 kB / 437.3 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.2, allocations: 19.94 kB / 437.3 MB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.201, allocations: 419.1 kB / 437.7 MB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.2024, allocations: 351.5 kB / 438 MB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00755/0.2099, allocations: 6.709 MB / 444.7 MB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.2113, allocations: 107.8 kB / 444.9 MB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.2114, allocations: 64 kB / 444.9 MB, free: 12.54 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.001266/0.2126, allocations: 0.7169 MB / 445.6 MB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.2129, allocations: 170.9 kB / 445.8 MB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.2169, allocations: 2.102 MB / 447.9 MB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.217, allocations: 12 kB / 447.9 MB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.217, allocations: 4 kB / 447.9 MB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.217, allocations: 3.984 kB / 447.9 MB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00784/0.2248, allocations: 4.126 MB / 452 MB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.2248, allocations: 4.469 kB / 452 MB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.2258, allocations: 223.7 kB / 452.3 MB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.2271, allocations: 447 kB / 452.7 MB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.585e-05/0.2272, allocations: 35.98 kB / 452.7 MB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009378/0.2365, allocations: 8.134 MB / 460.9 MB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/0.2366, allocations: 11.92 kB / 460.9 MB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/0.2421, allocations: 3.127 MB / 464 MB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008037/0.2429, allocations: 314.8 kB / 464.3 MB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.2431, allocations: 35.98 kB / 464.4 MB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000919/0.2441, allocations: 79.91 kB / 464.4 MB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.2443, allocations: 108.7 kB / 464.5 MB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-05/0.2444, allocations: 39.98 kB / 464.6 MB, free: 8.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001508/0.2459, allocations: 0.9455 MB / 465.5 MB, free: 7.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2459, allocations: 0 / 465.5 MB, free: 7.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001843/0.2477, allocations: 496.1 kB / 466 MB, free: 6.793 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.0004157/0.2482, allocations: 194.8 kB / 466.2 MB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003944/0.2521, allocations: 2.148 MB / 468.3 MB, free: 4.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2521, allocations: 0 / 468.3 MB, free: 4.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/0.2546, allocations: 1.419 MB / 469.8 MB, free: 2.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.2567, allocations: 419.7 kB / 470.2 MB, free: 2.527 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1856/0.4423, allocations: 4.733 MB / 474.9 MB, free: 89.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.4439, allocations: 1.303 MB / 476.2 MB, free: 88.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001196/0.4451, allocations: 366.7 kB / 476.6 MB, free: 88.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/0.4454, allocations: 122.5 kB / 476.7 MB, free: 88.86 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4454, allocations: 0 / 476.7 MB, free: 88.86 MB / 430.1 MB Notification: Performance of Templates: time 0.03659/0.482, allocations: 25.51 MB / 0.4904 GB, free: 73.39 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_Inverter/SMPM_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.519863942055963]