Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 161.9 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 46.88 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08665/0.08823, allocations: 53.35 MB / 379 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02241/0.1106, allocations: 18.6 MB / 397.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.1241, allocations: 6.52 MB / 404.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/0.127, allocations: 171.2 kB / 404.2 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01595/0.1429, allocations: 6.72 MB / 411 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008102/0.151, allocations: 2.793 MB / 413.8 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004134/0.1552, allocations: 1.555 MB / 415.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01217/0.1673, allocations: 9.16 MB / 424.5 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01575/0.1831, allocations: 10.91 MB / 435.4 MB, free: 6.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00691/0.19, allocations: 4.773 MB / 440.2 MB, free: 2.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008348/0.1984, allocations: 4.979 MB / 445.1 MB, free: 13.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002391/0.2007, allocations: 1.355 MB / 446.5 MB, free: 11.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.2042, allocations: 1.687 MB / 448.2 MB, free: 10.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002566/0.2068, allocations: 2.619 MB / 450.8 MB, free: 7.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005324/0.2121, allocations: 3.841 MB / 454.6 MB, free: 3.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01893/0.231, allocations: 18.33 MB / 473 MB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.231, allocations: 0 / 473 MB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2311, allocations: 0 / 473 MB, free: 1.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002854/0.2313, allocations: 0 / 473 MB, free: 1.215 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.2054/0.4367, allocations: 10.66 MB / 483.6 MB, free: 75.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4368, allocations: 9.531 kB / 483.6 MB, free: 75.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0329/0.4697, allocations: 5.909 MB / 489.5 MB, free: 73.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.4807, allocations: 5.782 MB / 495.3 MB, free: 68.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/0.4812, allocations: 0.5532 MB / 495.9 MB, free: 67.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.4837, allocations: 0.7301 MB / 496.6 MB, free: 66.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.5088, allocations: 13.02 MB / 0.4977 GB, free: 53.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003331/0.5091, allocations: 19.94 kB / 0.4977 GB, free: 53.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002006/0.5111, allocations: 311.3 kB / 0.498 GB, free: 53.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003888/0.5115, allocations: 500 kB / 0.4985 GB, free: 53.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.5312, allocations: 12.55 MB / 0.5107 GB, free: 40.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05145/0.5827, allocations: 36 MB / 0.5459 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/0.5968, allocations: 8.51 MB / 0.5542 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005532/0.6023, allocations: 2.91 MB / 0.557 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/0.6028, allocations: 95.12 kB / 0.5571 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.843e-05/0.6028, allocations: 81.72 kB / 0.5572 GB, free: 9.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.993e-06/0.6029, allocations: 4 kB / 0.5572 GB, free: 9.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.04341/0.6463, allocations: 16.73 MB / 0.5736 GB, free: 8.719 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.6463, allocations: 98.61 kB / 0.5736 GB, free: 8.609 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004712/0.6511, allocations: 2.697 MB / 0.5763 GB, free: 5.891 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003346/0.6514, allocations: 93.7 kB / 0.5764 GB, free: 5.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002514/0.6539, allocations: 3.152 MB / 0.5794 GB, free: 2.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001506/0.6554, allocations: 1.468 MB / 0.5809 GB, free: 1.133 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/0.6572, allocations: 0.9543 MB / 0.5818 GB, free: 172 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6573, allocations: 305.1 kB / 0.5821 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004359/0.6617, allocations: 2.497 MB / 0.5845 GB, free: 13.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005906/0.6676, allocations: 4.134 MB / 0.5886 GB, free: 8.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.6787, allocations: 7.187 MB / 0.5956 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.768e-05/0.6787, allocations: 16 kB / 0.5956 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01569/0.6944, allocations: 7.983 MB / 0.6034 GB, free: 8.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/0.6945, allocations: 27.94 kB / 0.6034 GB, free: 8.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.019e-05/0.6946, allocations: 52 kB / 0.6035 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/0.6982, allocations: 1.194 MB / 0.6047 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004529/0.7028, allocations: 1.131 MB / 0.6058 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/0.7206, allocations: 10.66 MB / 0.6162 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/0.7242, allocations: 263.7 kB / 0.6164 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008877/0.725, allocations: 244 kB / 0.6166 GB, free: 10.78 MB / 0.4981 GB 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.005602/0.7306, allocations: 2.959 MB / 0.6195 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/0.7318, allocations: 349.8 kB / 0.6199 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.7458, allocations: 6.625 MB / 0.6263 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/0.7459, allocations: 47.94 kB / 0.6264 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/0.7459, allocations: 8 kB / 0.6264 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.697e-05/0.7459, allocations: 23.92 kB / 0.6264 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/0.7731, allocations: 13.09 MB / 0.6392 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/0.7732, allocations: 4 kB / 0.6392 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/0.7765, allocations: 0.7535 MB / 0.6399 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003487/0.78, allocations: 1.085 MB / 0.641 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003942/0.7804, allocations: 99.97 kB / 0.6411 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/0.7964, allocations: 9.614 MB / 0.6505 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.7964, allocations: 7.938 kB / 0.6505 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/0.8152, allocations: 9.952 MB / 0.6602 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/0.8179, allocations: 0.8645 MB / 0.6611 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008476/0.8188, allocations: 84 kB / 0.6611 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/0.8212, allocations: 195.8 kB / 0.6613 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007876/0.822, allocations: 319.1 kB / 0.6616 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003918/0.8224, allocations: 136 kB / 0.6618 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003374/0.8257, allocations: 1.786 MB / 0.6635 GB, free: 10.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8257, allocations: 0 / 0.6635 GB, free: 10.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005011/0.8307, allocations: 1.383 MB / 0.6649 GB, free: 8.855 MB / 0.545 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.0007058/0.8315, allocations: 270.5 kB / 0.6651 GB, free: 8.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01246/0.8439, allocations: 6.474 MB / 0.6714 GB, free: 2.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.8439, allocations: 0 / 0.6714 GB, free: 2.082 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.1801/1.024, allocations: 3.31 MB / 0.6747 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/1.027, allocations: 0.7351 MB / 0.6754 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.048, allocations: 14.21 MB / 0.6893 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004015/1.052, allocations: 4.597 MB / 0.6937 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003547/1.055, allocations: 1.59 MB / 0.6953 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/1.056, allocations: 328.2 kB / 0.6956 GB, free: 181.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/1.056, allocations: 0 / 0.6956 GB, free: 181.6 MB / 0.545 GB Notification: Performance of Templates: time 0.07751/1.133, allocations: 55.01 MB / 0.7493 GB, free: 131 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.261123151052743]