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.001188/0.001188, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006876/0.006876, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 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 0.8565/0.8565, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.843e-06/1.843e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003263/0.0003281, allocations: 3.125 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01465/0.01498, allocations: 18.64 MB / 344.5 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.02765, allocations: 6.508 MB / 351 MB, free: 6.074 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004162/0.03181, allocations: 175.1 kB / 351.1 MB, free: 5.902 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00909/0.0409, allocations: 6.731 MB / 357.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007685/0.04858, allocations: 2.854 MB / 360.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.05234, allocations: 1.55 MB / 362.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.06268, allocations: 9.447 MB / 371.7 MB, free: 1.266 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01403/0.07671, allocations: 10.93 MB / 382.7 MB, free: 6.195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01124/0.08795, allocations: 6.981 MB / 389.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007114/0.09506, allocations: 4.471 MB / 394.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003287/0.09835, allocations: 1.355 MB / 395.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004427/0.1028, allocations: 1.694 MB / 397.2 MB, free: 7.672 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003523/0.1063, allocations: 2.661 MB / 399.8 MB, free: 5.004 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005765/0.1121, allocations: 3.326 MB / 403.1 MB, free: 1.672 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.1286, allocations: 18.54 MB / 421.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1286, allocations: 4 kB / 421.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1286, allocations: 4 kB / 421.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004533/0.1291, allocations: 0 / 421.7 MB, free: 15.07 MB / 394.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.02384/0.1529, allocations: 10.57 MB / 432.3 MB, free: 4.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.153, allocations: 15.98 kB / 432.3 MB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01806/0.171, allocations: 5.911 MB / 438.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.1816, allocations: 5.78 MB / 444 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004426/0.1821, allocations: 0.554 MB / 444.5 MB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002994/0.1851, allocations: 0.742 MB / 445.3 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2096/0.3947, allocations: 13.03 MB / 458.3 MB, free: 99.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002208/0.3949, allocations: 15.03 kB / 458.3 MB, free: 99.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/0.3963, allocations: 305.9 kB / 458.6 MB, free: 98.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005214/0.3968, allocations: 495.8 kB / 459.1 MB, free: 98.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/0.416, allocations: 12.56 MB / 471.7 MB, free: 93.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04624/0.4622, allocations: 35.99 MB / 0.4957 GB, free: 57.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007876/0.4701, allocations: 8.52 MB / 0.5041 GB, free: 50.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/0.4729, allocations: 2.918 MB / 0.5069 GB, free: 47.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.4731, allocations: 99.12 kB / 0.507 GB, free: 47.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.4731, allocations: 77.72 kB / 0.5071 GB, free: 47.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=410): time 6.672e-06/0.4731, allocations: 4 kB / 0.5071 GB, free: 47.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=415): time 0.02069/0.4938, allocations: 16.73 MB / 0.5234 GB, free: 30.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.4939, allocations: 98.67 kB / 0.5235 GB, free: 30.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/0.4966, allocations: 2.69 MB / 0.5261 GB, free: 28.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002873/0.4968, allocations: 89.7 kB / 0.5262 GB, free: 27.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008512/0.4977, allocations: 3.144 MB / 0.5293 GB, free: 24.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006715/0.4984, allocations: 1.447 MB / 0.5307 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008426/0.4992, allocations: 0.9504 MB / 0.5316 GB, free: 22.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.4992, allocations: 305.1 kB / 0.5319 GB, free: 22.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.5015, allocations: 2.505 MB / 0.5344 GB, free: 19.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.504, allocations: 4.13 MB / 0.5384 GB, free: 14.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005237/0.5092, allocations: 7.195 MB / 0.5454 GB, free: 6.934 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.819e-05/0.5093, allocations: 16 kB / 0.5455 GB, free: 6.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.008015/0.5173, allocations: 7.975 MB / 0.5532 GB, free: 14.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.5173, allocations: 28 kB / 0.5533 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-05/0.5174, allocations: 48 kB / 0.5533 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/0.5194, allocations: 1.191 MB / 0.5545 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.5218, allocations: 1.143 MB / 0.5556 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.5326, allocations: 10.67 MB / 0.566 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.5352, allocations: 267.8 kB / 0.5663 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004098/0.5356, allocations: 236 kB / 0.5665 GB, free: 1.137 MB / 426.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.004198/0.5398, allocations: 2.95 MB / 0.5694 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006706/0.5405, allocations: 353.7 kB / 0.5697 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007924/0.5484, allocations: 6.625 MB / 0.5762 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.5485, allocations: 44 kB / 0.5762 GB, free: 7.121 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.5485, allocations: 8 kB / 0.5762 GB, free: 7.113 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/0.5485, allocations: 23.92 kB / 0.5763 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/0.5649, allocations: 13.09 MB / 0.589 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.5649, allocations: 8.125 kB / 0.589 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.5665, allocations: 0.7489 MB / 0.5898 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.5683, allocations: 1.093 MB / 0.5908 GB, free: 8.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/0.5686, allocations: 91.97 kB / 0.5909 GB, free: 8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009074/0.5776, allocations: 9.611 MB / 0.6003 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5776, allocations: 8 kB / 0.6003 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.5888, allocations: 9.941 MB / 0.61 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/0.5905, allocations: 0.8606 MB / 0.6109 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/0.5908, allocations: 87.94 kB / 0.611 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.5919, allocations: 199.8 kB / 0.6111 GB, free: 2.977 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/0.5925, allocations: 315.2 kB / 0.6114 GB, free: 2.668 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/0.5927, allocations: 128 kB / 0.6116 GB, free: 2.543 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002617/0.5953, allocations: 1.794 MB / 0.6133 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5953, allocations: 3.938 kB / 0.6133 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003474/0.5988, allocations: 1.379 MB / 0.6147 GB, free: 15.35 MB / 490.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.000499/0.5993, allocations: 271.7 kB / 0.6149 GB, free: 15.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007941/0.6072, allocations: 6.464 MB / 0.6212 GB, free: 8.594 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6072, allocations: 4.875 kB / 0.6212 GB, free: 8.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004116/0.6114, allocations: 3.302 MB / 0.6245 GB, free: 5.266 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.6142, allocations: 0.7345 MB / 0.6252 GB, free: 4.551 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1747/0.7889, allocations: 13.92 MB / 0.6388 GB, free: 170.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003003/0.7919, allocations: 4.46 MB / 0.6431 GB, free: 170.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.7931, allocations: 361.6 kB / 0.6435 GB, free: 170.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.974e-06/0.7931, allocations: 3.938 kB / 0.6435 GB, free: 170.6 MB / 490.7 MB Notification: Performance of Templates: time 0.2841/1.077, allocations: 178 MB / 0.8173 GB, free: 162.6 MB / 490.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: 11.16959778778255]