Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.007362/0.007362, allocations: 107.3 kB / 21.98 MB, free: 5.223 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.001487/0.001487, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 259 MB, free: 8.043 MB / 206.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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.88 kB / 379.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 53.38 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.0268/0.36, allocations: 21.69 MB / 454.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.3766, allocations: 6.835 MB / 461.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005652/0.3823, allocations: 175.1 kB / 461.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01897/0.4012, allocations: 6.928 MB / 468.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.4128, allocations: 2.865 MB / 471.7 MB, free: 328 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005594/0.4184, allocations: 1.629 MB / 473.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01808/0.4365, allocations: 9.18 MB / 482.5 MB, free: 5.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02216/0.4587, allocations: 11.07 MB / 493.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009576/0.4683, allocations: 4.769 MB / 498.3 MB, free: 5.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01279/0.481, allocations: 5.237 MB / 0.4918 GB, free: 256 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00465/0.4857, allocations: 1.356 MB / 0.4931 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006828/0.4925, allocations: 1.71 MB / 0.4948 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005403/0.4979, allocations: 2.619 MB / 0.4973 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01278/0.5107, allocations: 4.958 MB / 0.5022 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02986/0.5406, allocations: 18.26 MB / 0.52 GB, free: 3.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.5406, allocations: 4 kB / 0.52 GB, free: 3.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5406, allocations: 0 / 0.52 GB, free: 3.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000562/0.5411, allocations: 3.984 kB / 0.52 GB, free: 3.258 MB / 430.1 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.04831/0.5895, allocations: 10.67 MB / 0.5304 GB, free: 8.512 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.5895, allocations: 8.031 kB / 0.5304 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05759/0.6471, allocations: 5.899 MB / 0.5362 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3111/0.9582, allocations: 5.767 MB / 0.5418 GB, free: 86.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005603/0.9588, allocations: 0.553 MB / 0.5424 GB, free: 86.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/0.9618, allocations: 0.7342 MB / 0.5431 GB, free: 86.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0276/0.9894, allocations: 12.89 MB / 0.5557 GB, free: 81.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/0.9897, allocations: 12.92 kB / 0.5557 GB, free: 81.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/0.991, allocations: 309.8 kB / 0.556 GB, free: 80.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003725/0.9914, allocations: 0.4889 MB / 0.5565 GB, free: 80.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/1.013, allocations: 12.62 MB / 0.5688 GB, free: 71.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05824/1.072, allocations: 40.54 MB / 0.6084 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/1.083, allocations: 8.603 MB / 0.6168 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/1.087, allocations: 2.929 MB / 0.6196 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/1.088, allocations: 113.2 kB / 0.6198 GB, free: 20.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/1.088, allocations: 77.78 kB / 0.6198 GB, free: 19.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 5.781e-06/1.088, allocations: 4 kB / 0.6198 GB, free: 19.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03343/1.121, allocations: 16.94 MB / 0.6364 GB, free: 3.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/1.121, allocations: 94.67 kB / 0.6365 GB, free: 3.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00395/1.125, allocations: 2.841 MB / 0.6392 GB, free: 316 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008695/1.126, allocations: 97.7 kB / 0.6393 GB, free: 212 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00282/1.129, allocations: 3.147 MB / 0.6424 GB, free: 13.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002206/1.131, allocations: 1.463 MB / 0.6438 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/1.133, allocations: 0.9583 MB / 0.6448 GB, free: 10.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/1.133, allocations: 301.1 kB / 0.6451 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004677/1.138, allocations: 2.505 MB / 0.6475 GB, free: 7.926 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006653/1.144, allocations: 4.117 MB / 0.6515 GB, free: 3.086 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/1.156, allocations: 7.204 MB / 0.6586 GB, free: 11.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.235e-05/1.156, allocations: 12 kB / 0.6586 GB, free: 11.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.017/1.173, allocations: 8.024 MB / 0.6664 GB, free: 3.102 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/1.173, allocations: 28 kB / 0.6664 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/1.173, allocations: 59.88 kB / 0.6665 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/1.177, allocations: 1.236 MB / 0.6677 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005466/1.183, allocations: 1.127 MB / 0.6688 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/1.201, allocations: 11.04 MB / 0.6796 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00417/1.205, allocations: 271.7 kB / 0.6798 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009869/1.206, allocations: 243.9 kB / 0.6801 GB, free: 4.879 MB / 494.1 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.005725/1.212, allocations: 2.955 MB / 0.683 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/1.213, allocations: 373.7 kB / 0.6833 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/1.226, allocations: 6.659 MB / 0.6898 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/1.226, allocations: 44 kB / 0.6899 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/1.226, allocations: 12 kB / 0.6899 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.656e-05/1.226, allocations: 19.92 kB / 0.6899 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02979/1.256, allocations: 14.87 MB / 0.7044 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.256, allocations: 4.75 kB / 0.7044 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003316/1.259, allocations: 0.7567 MB / 0.7052 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003516/1.263, allocations: 1.128 MB / 0.7063 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004944/1.263, allocations: 99.97 kB / 0.7064 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/1.279, allocations: 9.962 MB / 0.7161 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/1.279, allocations: 11.94 kB / 0.7161 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/1.298, allocations: 10.01 MB / 0.7259 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002853/1.3, allocations: 0.8879 MB / 0.7267 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009466/1.301, allocations: 80 kB / 0.7268 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002187/1.303, allocations: 199.8 kB / 0.727 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007415/1.304, allocations: 319.1 kB / 0.7273 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/1.305, allocations: 131.9 kB / 0.7274 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003187/1.308, allocations: 1.963 MB / 0.7294 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.308, allocations: 0 / 0.7294 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005096/1.313, allocations: 1.391 MB / 0.7307 GB, free: 0.5117 MB / 0.5294 GB 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.0006462/1.313, allocations: 266.5 kB / 0.731 GB, free: 248 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.326, allocations: 6.492 MB / 0.7373 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.326, allocations: 0 / 0.7373 GB, free: 9.719 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007002/1.333, allocations: 3.321 MB / 0.7405 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004376/1.337, allocations: 0.8379 MB / 0.7414 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.269/1.606, allocations: 14.06 MB / 0.7551 GB, free: 179.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004974/1.611, allocations: 4.947 MB / 0.7599 GB, free: 179.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.613, allocations: 370.6 kB / 0.7603 GB, free: 179.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.402e-06/1.613, allocations: 0 / 0.7603 GB, free: 179.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1644/1.777, allocations: 177.4 MB / 0.9335 GB, free: 16.16 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 17.22665351605974]