Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001298/0.001298, allocations: 123.4 kB / 18.46 MB, free: 4.598 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.001338/0.001338, allocations: 192.3 kB / 21.4 MB, free: 1.668 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.426/1.426, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 51.92 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1059, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01254/0.1184, allocations: 9.682 MB / 428.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006251/0.1247, allocations: 3.1 MB / 431.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.1263, allocations: 55.75 kB / 431.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.1283, allocations: 0.7104 MB / 432.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.1309, allocations: 0.8038 MB / 433.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.132, allocations: 387.5 kB / 433.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003411/0.1354, allocations: 2.545 MB / 436.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.1376, allocations: 1.67 MB / 437.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.1394, allocations: 1.188 MB / 439.1 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.1419, allocations: 1.53 MB / 440.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005837/0.1425, allocations: 320 kB / 440.9 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009447/0.1434, allocations: 419.8 kB / 441.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009871/0.1444, allocations: 0.9077 MB / 442.3 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.1463, allocations: 1.415 MB / 443.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2069/0.3532, allocations: 4.162 MB / 447.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3532, allocations: 0 / 447.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3532, allocations: 1.781 kB / 447.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001184/0.3533, allocations: 1.031 kB / 447.8 MB, free: 15.49 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.006097/0.3594, allocations: 2.97 MB / 450.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3595, allocations: 11.56 kB / 450.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.3602, allocations: 302.6 kB / 451.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.3625, allocations: 1.544 MB / 452.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.486e-05/0.3626, allocations: 159.2 kB / 452.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.3629, allocations: 219.9 kB / 453 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004935/0.3679, allocations: 2.796 MB / 455.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.358e-05/0.3679, allocations: 9.766 kB / 455.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.3681, allocations: 85.03 kB / 455.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.3682, allocations: 107.7 kB / 456 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/0.3725, allocations: 2.348 MB / 458.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.3851, allocations: 8.527 MB / 466.9 MB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.3872, allocations: 1.629 MB / 468.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.3887, allocations: 0.9083 MB / 469.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.389, allocations: 209.8 kB / 469.6 MB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.389, allocations: 43.69 kB / 469.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.906e-06/0.389, allocations: 1.344 kB / 469.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.01268/0.4017, allocations: 6.259 MB / 475.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.4017, allocations: 63.41 kB / 476 MB, free: 5.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.4036, allocations: 1.438 MB / 477.4 MB, free: 4.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.4038, allocations: 45.39 kB / 477.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000519/0.4043, allocations: 1.074 MB / 478.6 MB, free: 3.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.4045, allocations: 429.1 kB / 479 MB, free: 3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.4049, allocations: 256.2 kB / 479.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.4049, allocations: 358.9 kB / 479.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009708/0.4059, allocations: 0.686 MB / 480.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.407, allocations: 1.07 MB / 481.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.4091, allocations: 1.864 MB / 483.2 MB, free: 144 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4091, allocations: 3.719 kB / 483.2 MB, free: 144 kB / 366.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004023/0.4131, allocations: 2.42 MB / 485.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4132, allocations: 17.31 kB / 485.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.4132, allocations: 11.56 kB / 485.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000973/0.4142, allocations: 410.7 kB / 486.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.4153, allocations: 333.8 kB / 486.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007501/0.4228, allocations: 7.041 MB / 493.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.4243, allocations: 103.9 kB / 493.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.4244, allocations: 56 kB / 493.6 MB, free: 7.594 MB / 382.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.001302/0.4257, allocations: 0.6862 MB / 494.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004098/0.4261, allocations: 172.4 kB / 494.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.4301, allocations: 2.122 MB / 496.6 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.4301, allocations: 12 kB / 496.6 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4301, allocations: 8 kB / 496.6 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.4301, allocations: 3.984 kB / 496.6 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008225/0.4384, allocations: 4.565 MB / 0.4894 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.4384, allocations: 7.25 kB / 0.4894 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009583/0.4393, allocations: 210.5 kB / 0.4896 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.4406, allocations: 451.4 kB / 0.49 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-05/0.4407, allocations: 35.05 kB / 0.4901 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009096/0.4498, allocations: 8.632 MB / 0.4985 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.4498, allocations: 7.469 kB / 0.4985 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005522/0.4553, allocations: 3.105 MB / 0.5015 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009663/0.4563, allocations: 387.9 kB / 0.5019 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/0.4565, allocations: 27.98 kB / 0.5019 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009138/0.4574, allocations: 79.91 kB / 0.502 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.4577, allocations: 96.28 kB / 0.5021 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/0.4578, allocations: 43.98 kB / 0.5021 GB, free: 2.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001564/0.4593, allocations: 0.9809 MB / 0.5031 GB, free: 1.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4593, allocations: 0 / 0.5031 GB, free: 1.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00168/0.461, allocations: 467.9 kB / 0.5036 GB, free: 0.8828 MB / 398.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.0004068/0.4614, allocations: 196.3 kB / 0.5037 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.4654, allocations: 2.158 MB / 0.5058 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4654, allocations: 4.062 kB / 0.5059 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002522/0.4679, allocations: 1.389 MB / 0.5072 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.4701, allocations: 420.4 kB / 0.5076 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008053/0.4781, allocations: 4.566 MB / 0.5121 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.4799, allocations: 1.792 MB / 0.5138 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/0.4805, allocations: 123.4 kB / 0.5139 GB, free: 6.156 MB / 414.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4805, allocations: 0 / 0.5139 GB, free: 6.156 MB / 414.1 MB Notification: Performance of Templates: time 0.08442/0.5649, allocations: 69.37 MB / 0.5817 GB, free: 0.8398 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_Inverter/SMR_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.729615648044273]