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.001664/0.001664, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001951/0.001951, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.001965/0.001965, allocations: 68.75 kB / 379.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2822, allocations: 53.37 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02595/0.3081, allocations: 21.7 MB / 454.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.3237, allocations: 6.835 MB / 461 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004819/0.3286, allocations: 171.2 kB / 461.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01756/0.3461, allocations: 6.92 MB / 468.1 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.3573, allocations: 2.887 MB / 471 MB, free: 260 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005112/0.3625, allocations: 1.612 MB / 472.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01344/0.3759, allocations: 9.19 MB / 481.8 MB, free: 5.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01957/0.3955, allocations: 11.05 MB / 492.8 MB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007459/0.4029, allocations: 4.777 MB / 497.6 MB, free: 5.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00896/0.4119, allocations: 5.241 MB / 0.491 GB, free: 192 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003193/0.4151, allocations: 1.356 MB / 0.4924 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004632/0.4197, allocations: 1.707 MB / 0.494 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005007/0.4247, allocations: 2.623 MB / 0.4966 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008384/0.4331, allocations: 4.962 MB / 0.5014 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02142/0.4545, allocations: 18.25 MB / 0.5193 GB, free: 3.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4545, allocations: 0 / 0.5193 GB, free: 3.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4545, allocations: 4 kB / 0.5193 GB, free: 3.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004393/0.455, allocations: 3.984 kB / 0.5193 GB, free: 3.195 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.03185/0.4868, allocations: 10.67 MB / 0.5297 GB, free: 8.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4869, allocations: 8.031 kB / 0.5297 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03506/0.5219, allocations: 5.903 MB / 0.5355 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2482/0.7701, allocations: 5.764 MB / 0.5411 GB, free: 86.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.7706, allocations: 0.5562 MB / 0.5416 GB, free: 86.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/0.7733, allocations: 0.7312 MB / 0.5423 GB, free: 86.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0289/0.8022, allocations: 12.89 MB / 0.5549 GB, free: 80.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000394/0.8026, allocations: 10.94 kB / 0.5549 GB, free: 80.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/0.8052, allocations: 311.2 kB / 0.5552 GB, free: 80.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000566/0.8058, allocations: 494.9 kB / 0.5557 GB, free: 80.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/0.8306, allocations: 12.63 MB / 0.568 GB, free: 71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06035/0.8909, allocations: 40.55 MB / 0.6076 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.9038, allocations: 8.606 MB / 0.616 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004571/0.9084, allocations: 2.922 MB / 0.6189 GB, free: 20.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004602/0.9088, allocations: 118 kB / 0.619 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/0.9089, allocations: 77.78 kB / 0.6191 GB, free: 19.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.071e-06/0.9089, allocations: 0 / 0.6191 GB, free: 19.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03646/0.9454, allocations: 16.94 MB / 0.6356 GB, free: 3.164 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.9454, allocations: 94.67 kB / 0.6357 GB, free: 3.059 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/0.9498, allocations: 2.845 MB / 0.6385 GB, free: 240 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005228/0.9503, allocations: 89.7 kB / 0.6386 GB, free: 144 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002821/0.9531, allocations: 3.146 MB / 0.6417 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001951/0.9551, allocations: 1.462 MB / 0.6431 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/0.9573, allocations: 0.9504 MB / 0.644 GB, free: 10.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.9574, allocations: 309.1 kB / 0.6443 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/0.962, allocations: 2.508 MB / 0.6468 GB, free: 7.828 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006111/0.9681, allocations: 4.117 MB / 0.6508 GB, free: 2.988 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/0.9801, allocations: 7.206 MB / 0.6578 GB, free: 11.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-05/0.9801, allocations: 16 kB / 0.6578 GB, free: 11.05 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01711/0.9972, allocations: 8.027 MB / 0.6657 GB, free: 2.996 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.9973, allocations: 32 kB / 0.6657 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.579e-05/0.9974, allocations: 48 kB / 0.6657 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/1.001, allocations: 1.23 MB / 0.6669 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004875/1.006, allocations: 1.139 MB / 0.6681 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/1.025, allocations: 11.04 MB / 0.6788 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/1.029, allocations: 267.7 kB / 0.6791 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/1.03, allocations: 236 kB / 0.6793 GB, free: 4.781 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.00727/1.037, allocations: 2.957 MB / 0.6822 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001217/1.038, allocations: 365.7 kB / 0.6826 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.053, allocations: 6.674 MB / 0.6891 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/1.053, allocations: 43.94 kB / 0.6891 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/1.053, allocations: 12 kB / 0.6891 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/1.053, allocations: 19.92 kB / 0.6891 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03073/1.084, allocations: 14.88 MB / 0.7037 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.084, allocations: 8 kB / 0.7037 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/1.087, allocations: 0.7527 MB / 0.7044 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/1.091, allocations: 1.128 MB / 0.7055 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/1.091, allocations: 95.97 kB / 0.7056 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.106, allocations: 9.966 MB / 0.7153 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.106, allocations: 8 kB / 0.7154 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/1.124, allocations: 10 MB / 0.7251 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002369/1.126, allocations: 0.8879 MB / 0.726 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005624/1.127, allocations: 84 kB / 0.7261 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.129, allocations: 203.7 kB / 0.7263 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006781/1.129, allocations: 315.1 kB / 0.7266 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/1.13, allocations: 136 kB / 0.7267 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00315/1.133, allocations: 1.955 MB / 0.7286 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/1.133, allocations: 0 / 0.7286 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004576/1.137, allocations: 1.391 MB / 0.73 GB, free: 416 kB / 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.000615/1.138, allocations: 274.4 kB / 0.7302 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.15, allocations: 6.489 MB / 0.7366 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/1.15, allocations: 0 / 0.7366 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006568/1.156, allocations: 3.322 MB / 0.7398 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/1.161, allocations: 0.8398 MB / 0.7406 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2359/1.397, allocations: 14.24 MB / 0.7545 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006175/1.403, allocations: 5.081 MB / 0.7595 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004083/1.407, allocations: 1.62 MB / 0.7611 GB, free: 178.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009731/1.408, allocations: 330.3 kB / 0.7614 GB, free: 178.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.352e-06/1.408, allocations: 3.391 kB / 0.7614 GB, free: 178.7 MB / 0.545 GB Notification: Performance of Templates: time 0.09918/1.507, allocations: 65.25 MB / 0.8251 GB, free: 126.3 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/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_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: 8.035545954480767]