Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.001586/0.001586, allocations: 117.9 kB / 19.18 MB, free: 3.883 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.001836/0.001836, allocations: 208.9 kB / 22.13 MB, free: 0.9336 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.463/1.463, allocations: 230.2 MB / 255.1 MB, free: 15.25 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 374.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1077, allocations: 53.32 MB / 427.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2255/0.3331, allocations: 24.99 MB / 452.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.3523, allocations: 8.078 MB / 461 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005884/0.3582, allocations: 182.5 kB / 461.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02135/0.3795, allocations: 8.475 MB / 469.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.392, allocations: 3.075 MB / 472.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006139/0.3981, allocations: 1.836 MB / 474.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01613/0.4143, allocations: 11.22 MB / 485.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0281/0.4424, allocations: 17.42 MB / 0.4914 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009779/0.4521, allocations: 5.931 MB / 0.4972 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.464, allocations: 6.541 MB / 0.5035 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004479/0.4685, allocations: 1.715 MB / 0.5052 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007142/0.4756, allocations: 2.16 MB / 0.5073 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005926/0.4815, allocations: 3.41 MB / 0.5107 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.4934, allocations: 6.354 MB / 0.5169 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0305/0.5239, allocations: 23.19 MB / 0.5395 GB, free: 4.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5239, allocations: 3.938 kB / 0.5395 GB, free: 4.062 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5239, allocations: 0 / 0.5395 GB, free: 4.062 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005542/0.5244, allocations: 0 / 0.5395 GB, free: 4.062 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04195/0.5664, allocations: 13.65 MB / 0.5528 GB, free: 6.293 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.5664, allocations: 8.031 kB / 0.5529 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03743/0.6038, allocations: 6.249 MB / 0.559 GB, free: 24 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/0.6205, allocations: 7.292 MB / 0.5661 GB, free: 8.656 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/0.6216, allocations: 0.7185 MB / 0.5668 GB, free: 7.938 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004541/0.6261, allocations: 0.9452 MB / 0.5677 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04153/0.6676, allocations: 16.17 MB / 0.5835 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004427/0.6681, allocations: 19.89 kB / 0.5835 GB, free: 6.742 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003225/0.6713, allocations: 400 kB / 0.5839 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007116/0.672, allocations: 0.563 MB / 0.5844 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03353/0.7056, allocations: 15.14 MB / 0.5992 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5251/1.231, allocations: 52.64 MB / 0.6506 GB, free: 125.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02048/1.251, allocations: 19.7 MB / 0.6699 GB, free: 108.9 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006717/1.258, allocations: 3.335 MB / 0.6731 GB, free: 107.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007256/1.259, allocations: 296.8 kB / 0.6734 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/1.259, allocations: 77.94 kB / 0.6735 GB, free: 107.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 1.069e-05/1.259, allocations: 0 / 0.6735 GB, free: 107.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.05876/1.317, allocations: 20.77 MB / 0.6938 GB, free: 96.03 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/1.318, allocations: 100.2 kB / 0.6939 GB, free: 95.96 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008262/1.326, allocations: 4.514 MB / 0.6983 GB, free: 93.66 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008966/1.327, allocations: 96.77 kB / 0.6984 GB, free: 93.57 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/1.329, allocations: 4.342 MB / 0.7026 GB, free: 90.38 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/1.331, allocations: 1.613 MB / 0.7042 GB, free: 88.99 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00423/1.335, allocations: 1.204 MB / 0.7054 GB, free: 88.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/1.335, allocations: 304.7 kB / 0.7056 GB, free: 88 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006261/1.342, allocations: 3.068 MB / 0.7086 GB, free: 86.06 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007794/1.349, allocations: 5.224 MB / 0.7137 GB, free: 79.87 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/1.362, allocations: 8.883 MB / 0.7224 GB, free: 70.01 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.503e-05/1.362, allocations: 20 kB / 0.7224 GB, free: 69.99 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01917/1.382, allocations: 9.872 MB / 0.7321 GB, free: 60.11 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.48e-05/1.382, allocations: 36 kB / 0.7321 GB, free: 60.07 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/1.382, allocations: 72 kB / 0.7322 GB, free: 60 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/1.386, allocations: 1.403 MB / 0.7336 GB, free: 58.59 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/1.391, allocations: 1.396 MB / 0.7349 GB, free: 57.19 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/1.407, allocations: 12.67 MB / 0.7473 GB, free: 44.26 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0054/1.413, allocations: 355.5 kB / 0.7476 GB, free: 43.91 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/1.414, allocations: 300 kB / 0.7479 GB, free: 43.62 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008078/1.422, allocations: 3.884 MB / 0.7517 GB, free: 39.72 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001836/1.424, allocations: 484.9 kB / 0.7522 GB, free: 39.24 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/1.44, allocations: 8.471 MB / 0.7604 GB, free: 30.71 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01108/1.451, allocations: 6.232 MB / 0.7665 GB, free: 24.46 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.394e-05/1.451, allocations: 15.94 kB / 0.7665 GB, free: 24.45 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.303e-05/1.451, allocations: 19.92 kB / 0.7666 GB, free: 24.43 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03557/1.487, allocations: 17.4 MB / 0.7836 GB, free: 6.934 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/1.487, allocations: 8.156 kB / 0.7836 GB, free: 6.926 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003526/1.491, allocations: 0.8113 MB / 0.7844 GB, free: 6.113 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003657/1.494, allocations: 1.282 MB / 0.7856 GB, free: 4.82 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008223/1.495, allocations: 112 kB / 0.7857 GB, free: 4.711 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0172/1.512, allocations: 11.58 MB / 0.797 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/1.512, allocations: 11.94 kB / 0.797 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02361/1.536, allocations: 11.2 MB / 0.808 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003308/1.539, allocations: 1.111 MB / 0.8091 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001477/1.541, allocations: 95.98 kB / 0.8092 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003443/1.544, allocations: 231.7 kB / 0.8094 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001062/1.545, allocations: 335.5 kB / 0.8097 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005537/1.546, allocations: 144 kB / 0.8098 GB, free: 11.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006595/1.552, allocations: 3.115 MB / 0.8129 GB, free: 8.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/1.552, allocations: 3.938 kB / 0.8129 GB, free: 8.465 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00855/1.561, allocations: 1.726 MB / 0.8146 GB, free: 6.738 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002549/1.563, allocations: 0.525 MB / 0.8151 GB, free: 6.352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01754/1.581, allocations: 7.671 MB / 0.8226 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/1.581, allocations: 4.375 kB / 0.8226 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009044/1.59, allocations: 3.694 MB / 0.8262 GB, free: 10.93 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007649/1.598, allocations: 1.064 MB / 0.8272 GB, free: 9.902 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2661/1.864, allocations: 17.95 MB / 0.8447 GB, free: 178.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009965/1.874, allocations: 6.328 MB / 0.8509 GB, free: 177.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/1.876, allocations: 454.3 kB / 0.8514 GB, free: 177.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.633e-06/1.876, allocations: 0 / 0.8514 GB, free: 177.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.5211/2.397, allocations: 230.5 MB / 1.076 GB, free: 171.9 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 20.747294866014272]