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.001463/0.001463, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001745/0.001745, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.497/1.497, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.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.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 0.00253/0.00253, allocations: 67.88 kB / 379 MB, free: 2.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2643, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02257/0.2869, allocations: 18.62 MB / 451.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.3011, allocations: 6.493 MB / 457.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004181/0.3053, allocations: 171.2 kB / 457.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01661/0.3219, allocations: 6.38 MB / 464.1 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009013/0.3309, allocations: 2.806 MB / 466.9 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.3352, allocations: 1.538 MB / 468.4 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.3468, allocations: 9.17 MB / 477.6 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01675/0.3636, allocations: 10.91 MB / 488.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006866/0.3705, allocations: 4.758 MB / 493.3 MB, free: 9.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008496/0.379, allocations: 4.975 MB / 498.3 MB, free: 4.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003116/0.3821, allocations: 1.355 MB / 499.6 MB, free: 3.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/0.3866, allocations: 1.679 MB / 0.4895 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003164/0.3898, allocations: 2.627 MB / 0.4921 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006675/0.3965, allocations: 3.837 MB / 0.4958 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02195/0.4184, allocations: 18.32 MB / 0.5137 GB, free: 8.477 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4184, allocations: 0 / 0.5137 GB, free: 8.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4184, allocations: 0 / 0.5137 GB, free: 8.477 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003517/0.4188, allocations: 4 kB / 0.5137 GB, free: 8.473 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.03045/0.4492, allocations: 10.65 MB / 0.5241 GB, free: 13.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4493, allocations: 15.92 kB / 0.5242 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03373/0.483, allocations: 5.903 MB / 0.5299 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.4977, allocations: 5.78 MB / 0.5356 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/0.4984, allocations: 0.554 MB / 0.5361 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003085/0.5014, allocations: 0.742 MB / 0.5368 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3047/0.8062, allocations: 13.02 MB / 0.5496 GB, free: 85.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002426/0.8064, allocations: 14.84 kB / 0.5496 GB, free: 85.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002208/0.8086, allocations: 314.7 kB / 0.5499 GB, free: 84.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004693/0.8091, allocations: 495.3 kB / 0.5503 GB, free: 84.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.8323, allocations: 12.55 MB / 0.5626 GB, free: 75.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06532/0.8976, allocations: 35.97 MB / 0.5977 GB, free: 39.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/0.9114, allocations: 8.51 MB / 0.606 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005047/0.9164, allocations: 2.924 MB / 0.6089 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000512/0.917, allocations: 95.12 kB / 0.609 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.141e-05/0.917, allocations: 77.78 kB / 0.6091 GB, free: 28.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 7.043e-06/0.917, allocations: 0 / 0.6091 GB, free: 28.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03915/0.9562, allocations: 16.74 MB / 0.6254 GB, free: 12.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.9563, allocations: 94.67 kB / 0.6255 GB, free: 12.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004716/0.961, allocations: 2.694 MB / 0.6281 GB, free: 9.531 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006709/0.9616, allocations: 89.7 kB / 0.6282 GB, free: 9.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.9632, allocations: 3.151 MB / 0.6313 GB, free: 6.402 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/0.9648, allocations: 1.47 MB / 0.6327 GB, free: 4.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002312/0.9671, allocations: 0.9543 MB / 0.6337 GB, free: 3.988 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.9671, allocations: 305.1 kB / 0.634 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/0.9708, allocations: 2.508 MB / 0.6364 GB, free: 1.172 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006137/0.9769, allocations: 4.134 MB / 0.6404 GB, free: 12.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01292/0.9898, allocations: 7.195 MB / 0.6475 GB, free: 4.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.717e-05/0.9899, allocations: 12 kB / 0.6475 GB, free: 4.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01832/1.008, allocations: 7.971 MB / 0.6553 GB, free: 12.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.41e-05/1.008, allocations: 31.98 kB / 0.6553 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/1.008, allocations: 48 kB / 0.6553 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/1.012, allocations: 1.191 MB / 0.6565 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004799/1.017, allocations: 1.135 MB / 0.6576 GB, free: 9.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/1.035, allocations: 10.67 MB / 0.668 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004242/1.039, allocations: 271.8 kB / 0.6683 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/1.041, allocations: 236 kB / 0.6685 GB, free: 14.61 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.00739/1.048, allocations: 2.956 MB / 0.6714 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/1.049, allocations: 349.8 kB / 0.6717 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.063, allocations: 6.629 MB / 0.6782 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/1.063, allocations: 40 kB / 0.6782 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/1.063, allocations: 15.94 kB / 0.6783 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.395e-05/1.064, allocations: 19.92 kB / 0.6783 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0264/1.09, allocations: 13.07 MB / 0.691 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.09, allocations: 8 kB / 0.691 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/1.093, allocations: 0.7566 MB / 0.6918 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003178/1.096, allocations: 1.1 MB / 0.6929 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004043/1.097, allocations: 95.97 kB / 0.693 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/1.111, allocations: 9.6 MB / 0.7023 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.111, allocations: 7.938 kB / 0.7023 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/1.129, allocations: 9.962 MB / 0.7121 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002962/1.132, allocations: 0.8606 MB / 0.7129 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000779/1.133, allocations: 83.94 kB / 0.713 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/1.135, allocations: 199.8 kB / 0.7132 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006734/1.135, allocations: 315.1 kB / 0.7135 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/1.136, allocations: 128 kB / 0.7136 GB, free: 4 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00299/1.139, allocations: 1.786 MB / 0.7153 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/1.139, allocations: 0 / 0.7153 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00467/1.143, allocations: 1.383 MB / 0.7167 GB, free: 12.82 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.0006012/1.144, allocations: 274.2 kB / 0.717 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.156, allocations: 6.47 MB / 0.7233 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.156, allocations: 4.125 kB / 0.7233 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006653/1.163, allocations: 3.302 MB / 0.7265 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/1.166, allocations: 0.7426 MB / 0.7272 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/1.194, allocations: 14.03 MB / 0.7409 GB, free: 3.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2348/1.429, allocations: 4.459 MB / 0.7453 GB, free: 180.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/1.431, allocations: 359.2 kB / 0.7456 GB, free: 180.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.873e-06/1.431, allocations: 2.375 kB / 0.7456 GB, free: 180.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1769/1.607, allocations: 178.1 MB / 0.9195 GB, free: 24.82 MB / 0.545 GB " [Timeout remaining time 658] 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/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_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: 16.04445677716285]