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.001698/0.001698, allocations: 75.73 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.002049/0.002049, allocations: 168.9 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.423/1.423, allocations: 177.2 MB / 204.9 MB, free: 9 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.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 0.001595/0.001595, allocations: 54.8 kB / 325.6 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09459, allocations: 53.34 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01096/0.1055, allocations: 8.559 MB / 387.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005213/0.1108, allocations: 2.995 MB / 390.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006569/0.1114, allocations: 71.5 kB / 390.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.1128, allocations: 0.6596 MB / 391.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.1146, allocations: 0.8155 MB / 392 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/0.1154, allocations: 391.5 kB / 392.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002645/0.118, allocations: 2.572 MB / 395 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.1197, allocations: 1.256 MB / 396.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.1212, allocations: 1.215 MB / 397.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.1232, allocations: 1.448 MB / 398.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000437/0.1237, allocations: 316 kB / 399.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.1244, allocations: 427.8 kB / 399.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009384/0.1254, allocations: 0.9115 MB / 400.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.1266, allocations: 1.144 MB / 401.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004254/0.1309, allocations: 4.196 MB / 405.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1309, allocations: 0 / 405.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1309, allocations: 0 / 405.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.722e-05/0.131, allocations: 4 kB / 405.9 MB, free: 4.691 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005615/0.1366, allocations: 2.908 MB / 408.8 MB, free: 1.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1366, allocations: 8.031 kB / 408.8 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.1374, allocations: 307.2 kB / 409.1 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.1401, allocations: 1.471 MB / 410.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.1403, allocations: 168.3 kB / 410.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.1406, allocations: 211.9 kB / 410.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004743/0.1453, allocations: 2.9 MB / 413.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.697e-05/0.1454, allocations: 8 kB / 413.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.1456, allocations: 84 kB / 413.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.1457, allocations: 104.2 kB / 414 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004126/0.1498, allocations: 2.343 MB / 416.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.162, allocations: 7.389 MB / 423.8 MB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.1643, allocations: 1.18 MB / 424.9 MB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.166, allocations: 0.8929 MB / 425.8 MB, free: 264 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.1662, allocations: 52.95 kB / 425.9 MB, free: 212 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.1663, allocations: 43.56 kB / 425.9 MB, free: 156 kB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.775e-06/0.1663, allocations: 4 kB / 425.9 MB, free: 152 kB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01321/0.1795, allocations: 5.721 MB / 431.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1795, allocations: 64.41 kB / 431.7 MB, free: 10.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.1814, allocations: 1.301 MB / 433 MB, free: 9.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.876e-05/0.1814, allocations: 45.7 kB / 433.1 MB, free: 8.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007843/0.1822, allocations: 1.07 MB / 434.1 MB, free: 7.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/0.1826, allocations: 420.4 kB / 434.5 MB, free: 7.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/0.183, allocations: 263.5 kB / 434.8 MB, free: 7.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1832, allocations: 357.9 kB / 435.1 MB, free: 6.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.1843, allocations: 0.6948 MB / 435.8 MB, free: 6.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.1858, allocations: 1.066 MB / 436.9 MB, free: 4.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.1886, allocations: 1.871 MB / 438.8 MB, free: 2.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.1886, allocations: 4 kB / 438.8 MB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004061/0.1926, allocations: 2.327 MB / 441.1 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1926, allocations: 8 kB / 441.1 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.1927, allocations: 12 kB / 441.1 MB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009602/0.1936, allocations: 419.3 kB / 441.5 MB, free: 100 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.1949, allocations: 335.4 kB / 441.9 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/0.2019, allocations: 6.608 MB / 448.5 MB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.2033, allocations: 103.8 kB / 448.6 MB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.2035, allocations: 56 kB / 448.6 MB, free: 8.699 MB / 414.1 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.001194/0.2047, allocations: 0.6934 MB / 449.3 MB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.2049, allocations: 155 kB / 449.5 MB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/0.2086, allocations: 2.027 MB / 451.5 MB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.2086, allocations: 16 kB / 451.5 MB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.2086, allocations: 4 kB / 451.5 MB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.2086, allocations: 3.984 kB / 451.5 MB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007484/0.2161, allocations: 3.954 MB / 455.5 MB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.2161, allocations: 7.984 kB / 455.5 MB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009367/0.2171, allocations: 203.7 kB / 455.7 MB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.2182, allocations: 463.4 kB / 456.1 MB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.2183, allocations: 31.98 kB / 456.2 MB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00943/0.2278, allocations: 8.065 MB / 464.2 MB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.2278, allocations: 4 kB / 464.2 MB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005455/0.2332, allocations: 3.012 MB / 467.2 MB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008857/0.2341, allocations: 294.9 kB / 467.5 MB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.2343, allocations: 31.92 kB / 467.6 MB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008445/0.2351, allocations: 83.91 kB / 467.7 MB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.2354, allocations: 100.8 kB / 467.7 MB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-05/0.2355, allocations: 35.98 kB / 467.8 MB, free: 4.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001364/0.2368, allocations: 0.8759 MB / 468.7 MB, free: 4.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2368, allocations: 0 / 468.7 MB, free: 4.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001627/0.2385, allocations: 467.8 kB / 469.1 MB, free: 3.59 MB / 430.1 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.000415/0.2389, allocations: 210.9 kB / 469.3 MB, free: 3.375 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003928/0.2428, allocations: 2.083 MB / 471.4 MB, free: 1.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.2428, allocations: 0 / 471.4 MB, free: 1.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.173/0.4158, allocations: 1.385 MB / 472.8 MB, free: 84.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.4179, allocations: 351 kB / 473.1 MB, free: 84.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/0.4244, allocations: 4.494 MB / 477.6 MB, free: 82.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/0.426, allocations: 1.233 MB / 478.9 MB, free: 82.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.4272, allocations: 351.5 kB / 479.2 MB, free: 82.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.4275, allocations: 108.4 kB / 479.3 MB, free: 82.35 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4275, allocations: 0.5625 kB / 479.3 MB, free: 82.35 MB / 430.1 MB Notification: Performance of Templates: time 0.03452/0.462, allocations: 23.4 MB / 0.4909 GB, free: 68.04 MB / 430.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/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: 5.5580274279927835]