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.001395/0.001395, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001444/0.001444, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.54/1.54, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.001944/0.001944, allocations: 67.88 kB / 373.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 53.33 MB / 427.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.227/0.3337, allocations: 24.98 MB / 452.2 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01441/0.3481, allocations: 8.084 MB / 460.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00446/0.3526, allocations: 179.6 kB / 460.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01737/0.3699, allocations: 8.464 MB / 468.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00971/0.3797, allocations: 3.076 MB / 472 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004911/0.3846, allocations: 1.848 MB / 473.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01436/0.3989, allocations: 11.22 MB / 485.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02524/0.4242, allocations: 17.42 MB / 0.4907 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009628/0.4338, allocations: 5.927 MB / 0.4965 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.4444, allocations: 6.545 MB / 0.5029 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003521/0.448, allocations: 1.715 MB / 0.5046 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005916/0.4539, allocations: 2.16 MB / 0.5067 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004393/0.4583, allocations: 3.402 MB / 0.51 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01044/0.4687, allocations: 6.354 MB / 0.5162 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02693/0.4956, allocations: 23.2 MB / 0.5389 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4957, allocations: 0 / 0.5389 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4957, allocations: 0 / 0.5389 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005142/0.4962, allocations: 0 / 0.5389 GB, free: 15.45 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.03852/0.5347, allocations: 13.64 MB / 0.5522 GB, free: 1.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5347, allocations: 8.031 kB / 0.5522 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03655/0.5713, allocations: 6.256 MB / 0.5583 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.5862, allocations: 7.294 MB / 0.5654 GB, free: 4.039 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007574/0.587, allocations: 0.7185 MB / 0.5661 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003851/0.5908, allocations: 0.9452 MB / 0.567 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04219/0.633, allocations: 16.17 MB / 0.5828 GB, free: 2.148 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002878/0.6333, allocations: 15.95 kB / 0.5828 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002471/0.6358, allocations: 400 kB / 0.5832 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006273/0.6364, allocations: 0.5669 MB / 0.5838 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03218/0.6686, allocations: 15.14 MB / 0.5986 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5081/1.177, allocations: 52.64 MB / 0.65 GB, free: 120.7 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/1.195, allocations: 19.7 MB / 0.6692 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005951/1.201, allocations: 3.335 MB / 0.6725 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/1.202, allocations: 292.8 kB / 0.6727 GB, free: 106.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/1.202, allocations: 78.22 kB / 0.6728 GB, free: 106.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=447): time 7.394e-06/1.202, allocations: 0 / 0.6728 GB, free: 106.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04952/1.251, allocations: 20.77 MB / 0.6931 GB, free: 98.82 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.251, allocations: 101.1 kB / 0.6932 GB, free: 98.75 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/1.258, allocations: 4.516 MB / 0.6976 GB, free: 96.45 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/1.259, allocations: 95.8 kB / 0.6977 GB, free: 96.36 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002615/1.261, allocations: 4.339 MB / 0.7019 GB, free: 93.19 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001881/1.263, allocations: 1.609 MB / 0.7035 GB, free: 91.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001896/1.265, allocations: 1.215 MB / 0.7047 GB, free: 91.1 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/1.265, allocations: 305.1 kB / 0.705 GB, free: 90.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004156/1.269, allocations: 3.065 MB / 0.708 GB, free: 89.14 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004988/1.274, allocations: 5.219 MB / 0.7131 GB, free: 84.63 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00983/1.284, allocations: 8.895 MB / 0.7218 GB, free: 77.99 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-05/1.284, allocations: 23.34 kB / 0.7218 GB, free: 77.99 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01513/1.299, allocations: 9.859 MB / 0.7314 GB, free: 70.79 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/1.299, allocations: 40 kB / 0.7314 GB, free: 70.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001124/1.299, allocations: 72 kB / 0.7315 GB, free: 70.68 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/1.303, allocations: 1.407 MB / 0.7329 GB, free: 69.27 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004906/1.308, allocations: 1.384 MB / 0.7342 GB, free: 67.88 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/1.322, allocations: 12.68 MB / 0.7466 GB, free: 54.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004814/1.327, allocations: 343.7 kB / 0.747 GB, free: 54.61 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.328, allocations: 307.9 kB / 0.7472 GB, free: 54.31 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.00641/1.334, allocations: 3.885 MB / 0.751 GB, free: 50.41 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001465/1.336, allocations: 488.8 kB / 0.7515 GB, free: 49.93 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.348, allocations: 8.464 MB / 0.7598 GB, free: 41.41 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008861/1.357, allocations: 6.232 MB / 0.7659 GB, free: 35.16 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.357, allocations: 12 kB / 0.7659 GB, free: 35.14 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.979e-05/1.357, allocations: 23.91 kB / 0.7659 GB, free: 35.12 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02539/1.382, allocations: 17.41 MB / 0.7829 GB, free: 17.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.382, allocations: 8 kB / 0.7829 GB, free: 17.62 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/1.386, allocations: 0.8151 MB / 0.7837 GB, free: 16.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/1.389, allocations: 1.286 MB / 0.785 GB, free: 15.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005571/1.39, allocations: 104 kB / 0.7851 GB, free: 15.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/1.402, allocations: 11.58 MB / 0.7964 GB, free: 3.559 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/1.402, allocations: 11.94 kB / 0.7964 GB, free: 3.547 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/1.421, allocations: 11.21 MB / 0.8073 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003003/1.424, allocations: 1.115 MB / 0.8084 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/1.425, allocations: 91.98 kB / 0.8085 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002803/1.428, allocations: 227.8 kB / 0.8087 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008079/1.429, allocations: 327.5 kB / 0.809 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003285/1.429, allocations: 144 kB / 0.8092 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005162/1.434, allocations: 3.123 MB / 0.8122 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/1.434, allocations: 0 / 0.8122 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007015/1.441, allocations: 1.723 MB / 0.8139 GB, free: 1.43 MB / 0.5294 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.002023/1.443, allocations: 0.5312 MB / 0.8144 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.458, allocations: 7.676 MB / 0.8219 GB, free: 9.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.458, allocations: 4 kB / 0.8219 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007752/1.466, allocations: 3.691 MB / 0.8255 GB, free: 5.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/1.471, allocations: 1.055 MB / 0.8265 GB, free: 4.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0361/1.507, allocations: 18.21 MB / 0.8443 GB, free: 2.23 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2308/1.738, allocations: 6.503 MB / 0.8507 GB, free: 174.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006221/1.744, allocations: 2.115 MB / 0.8527 GB, free: 174 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/1.746, allocations: 399.2 kB / 0.8531 GB, free: 174 MB / 0.5607 GB Notification: Performance of SimCode: time 1.222e-06/1.746, allocations: 3.969 kB / 0.8531 GB, free: 174 MB / 0.5607 GB Notification: Performance of Templates: time 0.1093/1.855, allocations: 73.71 MB / 0.9251 GB, free: 133.5 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.962167635560036]