Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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.001459/0.001459, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001532/0.001532, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.467/1.467, allocations: 177 MB / 204.5 MB, free: 5.645 MB / 186.7 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.125e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1662/0.1662, allocations: 18.63 MB / 290.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.1786, allocations: 6.525 MB / 297.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.1817, allocations: 174.1 kB / 297.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0145/0.1962, allocations: 6.729 MB / 304.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009063/0.2053, allocations: 2.841 MB / 307.1 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004237/0.2095, allocations: 1.559 MB / 308.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.2212, allocations: 9.456 MB / 318.1 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.2383, allocations: 10.93 MB / 329.1 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01268/0.251, allocations: 6.966 MB / 336 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008856/0.2599, allocations: 4.48 MB / 340.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00294/0.2628, allocations: 1.355 MB / 341.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004351/0.2672, allocations: 1.694 MB / 343.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002918/0.2701, allocations: 2.669 MB / 346.2 MB, free: 8.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006304/0.2764, allocations: 3.326 MB / 349.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02428/0.3007, allocations: 18.55 MB / 368.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3007, allocations: 0 / 368.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3007, allocations: 0 / 368.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004475/0.3011, allocations: 3.938 kB / 368.1 MB, free: 2.285 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03394/0.335, allocations: 10.59 MB / 378.7 MB, free: 7.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.3351, allocations: 15.98 kB / 378.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03585/0.371, allocations: 7.273 MB / 386 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.3856, allocations: 6.014 MB / 392 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007065/0.3863, allocations: 0.5617 MB / 392.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003099/0.3894, allocations: 0.7343 MB / 393.3 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0324/0.4218, allocations: 13.03 MB / 406.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001798/0.4219, allocations: 19.89 kB / 406.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.423, allocations: 311.9 kB / 406.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006086/0.4236, allocations: 496.1 kB / 407.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.4499, allocations: 12.55 MB / 419.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2108/0.6607, allocations: 36.92 MB / 456.6 MB, free: 93.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.6721, allocations: 8.563 MB / 465.2 MB, free: 91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00354/0.6756, allocations: 2.916 MB / 468.1 MB, free: 89.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.6759, allocations: 122 kB / 468.2 MB, free: 89.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.6759, allocations: 76.97 kB / 468.3 MB, free: 89.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 7.424e-06/0.6759, allocations: 0 / 468.3 MB, free: 89.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.03008/0.706, allocations: 16.89 MB / 485.2 MB, free: 77.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.7061, allocations: 94.67 kB / 485.3 MB, free: 77.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.7091, allocations: 2.694 MB / 488 MB, free: 75.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.7093, allocations: 89.7 kB / 488.1 MB, free: 75.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.7105, allocations: 3.143 MB / 491.2 MB, free: 72.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007125/0.7112, allocations: 1.45 MB / 492.6 MB, free: 70.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.7123, allocations: 0.9427 MB / 493.6 MB, free: 69.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.7124, allocations: 305.1 kB / 493.9 MB, free: 69.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/0.7152, allocations: 2.508 MB / 496.4 MB, free: 67.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/0.7185, allocations: 4.134 MB / 0.4888 GB, free: 62.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006751/0.7253, allocations: 7.191 MB / 0.4958 GB, free: 54.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.087e-05/0.7253, allocations: 16 kB / 0.4958 GB, free: 54.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01085/0.7362, allocations: 8.205 MB / 0.5039 GB, free: 46.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.7362, allocations: 31.98 kB / 0.5039 GB, free: 46.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.998e-05/0.7363, allocations: 52.88 kB / 0.5039 GB, free: 46.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003627/0.7399, allocations: 1.389 MB / 0.5053 GB, free: 44.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/0.7434, allocations: 1.143 MB / 0.5064 GB, free: 43.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.7556, allocations: 10.72 MB / 0.5169 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/0.7587, allocations: 271.9 kB / 0.5171 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/0.7591, allocations: 228 kB / 0.5173 GB, free: 32.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003864/0.7629, allocations: 2.956 MB / 0.5202 GB, free: 29.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009197/0.7638, allocations: 481.7 kB / 0.5207 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009818/0.7737, allocations: 6.625 MB / 0.5272 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.7737, allocations: 47.98 kB / 0.5272 GB, free: 21.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.7737, allocations: 12 kB / 0.5272 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/0.7737, allocations: 27.91 kB / 0.5272 GB, free: 21.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/0.7918, allocations: 13.11 MB / 0.5401 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.7918, allocations: 4 kB / 0.5401 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/0.7945, allocations: 0.7489 MB / 0.5408 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/0.7979, allocations: 1.268 MB / 0.542 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/0.7981, allocations: 99.97 kB / 0.5421 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.8109, allocations: 9.665 MB / 0.5516 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.8109, allocations: 11.94 kB / 0.5516 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/0.8292, allocations: 10.08 MB / 0.5614 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002446/0.8317, allocations: 0.8607 MB / 0.5623 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/0.8321, allocations: 87.94 kB / 0.5623 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/0.834, allocations: 199.8 kB / 0.5625 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007741/0.8348, allocations: 323 kB / 0.5628 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/0.8351, allocations: 132 kB / 0.563 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00334/0.8384, allocations: 1.786 MB / 0.5647 GB, free: 15.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.8384, allocations: 0 / 0.5647 GB, free: 15.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004731/0.8432, allocations: 1.387 MB / 0.5661 GB, free: 13.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000646/0.8438, allocations: 274.1 kB / 0.5663 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01308/0.8569, allocations: 6.473 MB / 0.5726 GB, free: 7.031 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.8569, allocations: 4 kB / 0.5726 GB, free: 7.027 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006855/0.8638, allocations: 3.302 MB / 0.5759 GB, free: 3.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/0.8677, allocations: 0.7702 MB / 0.5766 GB, free: 2.969 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1341/1.002, allocations: 14.29 MB / 0.5906 GB, free: 126.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004437/1.006, allocations: 4.599 MB / 0.5951 GB, free: 126.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003698/1.01, allocations: 1.6 MB / 0.5966 GB, free: 126.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000877/1.011, allocations: 322.9 kB / 0.5969 GB, free: 126.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/1.011, allocations: 0 / 0.5969 GB, free: 126.2 MB / 410.7 MB Notification: Performance of Templates: time 0.07569/1.086, allocations: 54.93 MB / 0.6506 GB, free: 82.42 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.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: 7.321658471948467]