Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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: 79.73 kB / 21.25 MB, free: 396 kB / 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.001652/0.001652, allocations: 160.7 kB / 24.5 MB, free: 3.453 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.436/1.436, allocations: 177.1 MB / 204.7 MB, free: 8.906 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.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 70.5 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1188, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01248/0.1313, allocations: 7.884 MB / 386.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005946/0.1373, allocations: 2.731 MB / 389.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.1386, allocations: 55.62 kB / 389.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.1406, allocations: 0.5822 MB / 390.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.143, allocations: 0.7496 MB / 390.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.1438, allocations: 331.5 kB / 391.3 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003005/0.1468, allocations: 2.237 MB / 393.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.1484, allocations: 0.9852 MB / 394.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.1506, allocations: 1.051 MB / 395.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.1527, allocations: 1.234 MB / 396.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000397/0.1531, allocations: 268 kB / 397 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.1539, allocations: 363.8 kB / 397.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008783/0.1548, allocations: 0.7713 MB / 398.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.156, allocations: 0.9764 MB / 399.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.16, allocations: 3.581 MB / 402.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.16, allocations: 0 / 402.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.16, allocations: 4 kB / 402.7 MB, free: 7.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.94e-05/0.1601, allocations: 0 / 402.7 MB, free: 7.578 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00559/0.1657, allocations: 2.474 MB / 405.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1658, allocations: 15.98 kB / 405.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007173/0.1665, allocations: 267.3 kB / 405.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.1689, allocations: 1.238 MB / 406.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.169, allocations: 135.9 kB / 406.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/0.1693, allocations: 187.9 kB / 407 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004718/0.174, allocations: 2.471 MB / 409.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-05/0.1741, allocations: 7.953 kB / 409.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/0.1742, allocations: 79.97 kB / 409.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.1744, allocations: 91.45 kB / 409.7 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/0.1782, allocations: 1.962 MB / 411.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.1903, allocations: 6.11 MB / 417.7 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.1923, allocations: 0.9892 MB / 418.7 MB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.1941, allocations: 0.8031 MB / 419.5 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.1943, allocations: 44.91 kB / 419.6 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.1944, allocations: 51.55 kB / 419.6 MB, free: 6.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.527e-06/0.1944, allocations: 0 / 419.6 MB, free: 6.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.0144/0.2088, allocations: 5.654 MB / 425.3 MB, free: 0.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.2088, allocations: 64.41 kB / 425.3 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.2107, allocations: 1.072 MB / 426.4 MB, free: 15.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.2108, allocations: 45.7 kB / 426.4 MB, free: 15.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000798/0.2116, allocations: 0.8979 MB / 427.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000388/0.212, allocations: 384.8 kB / 427.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.2124, allocations: 214.9 kB / 427.9 MB, free: 13.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003982/0.2128, allocations: 361.9 kB / 428.3 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.214, allocations: 0.6155 MB / 428.9 MB, free: 12.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.2154, allocations: 0.9188 MB / 429.8 MB, free: 11.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/0.2181, allocations: 1.643 MB / 431.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.2181, allocations: 4 kB / 431.5 MB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00422/0.2224, allocations: 2.141 MB / 433.6 MB, free: 7.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.2224, allocations: 8 kB / 433.6 MB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.2224, allocations: 8.25 kB / 433.6 MB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.2236, allocations: 483.6 kB / 434.1 MB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.2246, allocations: 275.6 kB / 434.4 MB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007569/0.2322, allocations: 6.573 MB / 440.9 MB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.2334, allocations: 87.91 kB / 441 MB, free: 224 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/0.2335, allocations: 52 kB / 441.1 MB, free: 172 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,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.00128/0.2348, allocations: 0.5912 MB / 441.7 MB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.2351, allocations: 135.1 kB / 441.8 MB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/0.2392, allocations: 1.94 MB / 443.7 MB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.2392, allocations: 15.94 kB / 443.8 MB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.2392, allocations: 11.97 kB / 443.8 MB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.2393, allocations: 7.984 kB / 443.8 MB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00729/0.2465, allocations: 3.662 MB / 447.4 MB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.2466, allocations: 4.094 kB / 447.4 MB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000758/0.2473, allocations: 179.8 kB / 447.6 MB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.2486, allocations: 0.5226 MB / 448.1 MB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.2487, allocations: 31.98 kB / 448.2 MB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008583/0.2573, allocations: 8.057 MB / 456.2 MB, free: 472 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.2573, allocations: 7.938 kB / 456.2 MB, free: 464 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004981/0.2623, allocations: 2.843 MB / 459.1 MB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007916/0.2631, allocations: 271 kB / 459.3 MB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.2633, allocations: 31.98 kB / 459.4 MB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000731/0.264, allocations: 63.92 kB / 459.4 MB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.2642, allocations: 96.7 kB / 459.5 MB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.568e-05/0.2643, allocations: 35.94 kB / 459.6 MB, free: 13.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001158/0.2655, allocations: 0.7372 MB / 460.3 MB, free: 12.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2655, allocations: 0 / 460.3 MB, free: 12.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001589/0.267, allocations: 415.9 kB / 460.7 MB, free: 11.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,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.0003778/0.2674, allocations: 177.9 kB / 460.9 MB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00354/0.271, allocations: 1.944 MB / 462.8 MB, free: 9.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.271, allocations: 4.625 kB / 462.8 MB, free: 9.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.2733, allocations: 1.357 MB / 464.2 MB, free: 8.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.2749, allocations: 332 kB / 464.5 MB, free: 7.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006623/0.2815, allocations: 3.942 MB / 468.5 MB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.2828, allocations: 1.058 MB / 469.5 MB, free: 2.867 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007786/0.2836, allocations: 274.7 kB / 469.8 MB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.2838, allocations: 92.48 kB / 469.9 MB, free: 2.504 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2838, allocations: 0 / 469.9 MB, free: 2.504 MB / 430.1 MB Notification: Performance of Templates: time 0.2868/0.5707, allocations: 21.26 MB / 491.1 MB, free: 76.95 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.641239440999925]