Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001308/0.001308, allocations: 77.78 kB / 21.25 MB, free: 0.5469 MB / 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.001312/0.001312, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.466/1.466, allocations: 177.1 MB / 204.7 MB, free: 8.98 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 60.48 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09832, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01085/0.1092, allocations: 8.574 MB / 387.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005221/0.1144, allocations: 2.984 MB / 390.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000629/0.115, allocations: 71.5 kB / 390.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.1165, allocations: 0.6596 MB / 391.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.1182, allocations: 0.8194 MB / 392 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007477/0.119, allocations: 399.4 kB / 392.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002616/0.1216, allocations: 2.553 MB / 395 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.1233, allocations: 1.264 MB / 396.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.1247, allocations: 1.219 MB / 397.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.1266, allocations: 1.451 MB / 398.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004159/0.1271, allocations: 316 kB / 399.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.1278, allocations: 419.8 kB / 399.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009461/0.1287, allocations: 0.9077 MB / 400.5 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.1302, allocations: 1.151 MB / 401.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006045/0.1362, allocations: 4.196 MB / 405.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.1362, allocations: 4 kB / 405.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1362, allocations: 0 / 405.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.612e-05/0.1363, allocations: 0 / 405.9 MB, free: 4.332 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.005845/0.1421, allocations: 2.904 MB / 408.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1422, allocations: 11.98 kB / 408.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/0.143, allocations: 315.2 kB / 409.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.1456, allocations: 1.475 MB / 410.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.1458, allocations: 156.3 kB / 410.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/0.1461, allocations: 212 kB / 411 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.151, allocations: 2.908 MB / 413.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.1511, allocations: 0 / 413.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.1513, allocations: 92 kB / 414 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.1514, allocations: 104.2 kB / 414.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004279/0.1557, allocations: 2.347 MB / 416.4 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.1683, allocations: 7.378 MB / 423.8 MB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.1705, allocations: 1.179 MB / 425 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.1723, allocations: 0.8929 MB / 425.9 MB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.1725, allocations: 49.98 kB / 425.9 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.1725, allocations: 47.55 kB / 425.9 MB, free: 15.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.005e-06/0.1725, allocations: 0 / 425.9 MB, free: 15.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.01325/0.1858, allocations: 5.721 MB / 431.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.1858, allocations: 64.41 kB / 431.7 MB, free: 9.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.1877, allocations: 1.305 MB / 433 MB, free: 8.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.201e-05/0.1878, allocations: 45.7 kB / 433.1 MB, free: 8.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008073/0.1886, allocations: 1.063 MB / 434.1 MB, free: 7.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/0.1889, allocations: 432.4 kB / 434.6 MB, free: 7.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.1894, allocations: 255.5 kB / 434.8 MB, free: 6.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1895, allocations: 369.9 kB / 435.2 MB, free: 6.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.1907, allocations: 0.6832 MB / 435.9 MB, free: 5.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.1923, allocations: 1.07 MB / 436.9 MB, free: 4.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.1951, allocations: 1.868 MB / 438.8 MB, free: 2.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1951, allocations: 8 kB / 438.8 MB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004146/0.1992, allocations: 2.323 MB / 441.1 MB, free: 192 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1992, allocations: 8 kB / 441.1 MB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.1993, allocations: 12 kB / 441.1 MB, free: 172 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.2003, allocations: 419.3 kB / 441.6 MB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.2015, allocations: 335.4 kB / 441.9 MB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/0.2088, allocations: 6.608 MB / 448.5 MB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.2099, allocations: 99.89 kB / 448.6 MB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.21, allocations: 63.98 kB / 448.7 MB, free: 8.348 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.001134/0.2112, allocations: 0.6889 MB / 449.3 MB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.2114, allocations: 155 kB / 449.5 MB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/0.2152, allocations: 2.031 MB / 451.5 MB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.2152, allocations: 12 kB / 451.5 MB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2152, allocations: 7.984 kB / 451.5 MB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.2152, allocations: 7.984 kB / 451.5 MB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007098/0.2223, allocations: 3.95 MB / 455.5 MB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.2223, allocations: 7.938 kB / 455.5 MB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009298/0.2232, allocations: 211.7 kB / 455.7 MB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.2244, allocations: 451.3 kB / 456.2 MB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.749e-05/0.2245, allocations: 35.98 kB / 456.2 MB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008742/0.2332, allocations: 8.062 MB / 464.3 MB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.2332, allocations: 4 kB / 464.3 MB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/0.2382, allocations: 3.02 MB / 467.3 MB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007212/0.2389, allocations: 286.9 kB / 467.6 MB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.2391, allocations: 35.94 kB / 467.6 MB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/0.24, allocations: 91.89 kB / 467.7 MB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.2402, allocations: 92.77 kB / 467.8 MB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-05/0.2403, allocations: 39.98 kB / 467.8 MB, free: 4.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001309/0.2416, allocations: 0.8759 MB / 468.7 MB, free: 3.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2416, allocations: 0 / 468.7 MB, free: 3.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001565/0.2431, allocations: 463.9 kB / 469.1 MB, free: 3.238 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.0003532/0.2435, allocations: 201.6 kB / 469.3 MB, free: 3.039 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003678/0.2472, allocations: 2.087 MB / 471.4 MB, free: 0.9141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2472, allocations: 0 / 471.4 MB, free: 0.9141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1988/0.446, allocations: 1.388 MB / 472.8 MB, free: 83.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.4486, allocations: 351 kB / 473.2 MB, free: 83.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009745/0.4583, allocations: 4.498 MB / 477.7 MB, free: 82.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002203/0.4605, allocations: 1.24 MB / 478.9 MB, free: 82.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001487/0.462, allocations: 342.8 kB / 479.2 MB, free: 81.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/0.4625, allocations: 111.5 kB / 479.3 MB, free: 81.96 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4625, allocations: 4 kB / 479.3 MB, free: 81.96 MB / 430.1 MB Notification: Performance of Templates: time 0.03187/0.4943, allocations: 23.39 MB / 0.4909 GB, free: 67.46 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.6820703039411455]