Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 119.4 kB / 18.41 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 188.3 kB / 21.34 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 222.9 MB / 247.1 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 51.91 kB / 358.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1106, allocations: 49.42 MB / 408.2 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.2736/0.3842, allocations: 24.83 MB / 433 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.3991, allocations: 7.824 MB / 440.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005847/0.405, allocations: 183.1 kB / 441 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01817/0.4232, allocations: 8.353 MB / 449.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.4335, allocations: 2.999 MB / 452.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005249/0.4388, allocations: 1.812 MB / 454.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0158/0.4546, allocations: 11.12 MB / 465.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04104/0.4957, allocations: 23.31 MB / 488.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01266/0.5084, allocations: 5.891 MB / 494.5 MB, free: 4.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01212/0.5205, allocations: 6.442 MB / 0.4892 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004879/0.5254, allocations: 1.715 MB / 0.4908 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007358/0.5328, allocations: 2.125 MB / 0.4929 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005777/0.5386, allocations: 3.388 MB / 0.4962 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01374/0.5524, allocations: 6.353 MB / 0.5024 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03006/0.5825, allocations: 23.16 MB / 0.5251 GB, free: 10.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5826, allocations: 0 / 0.5251 GB, free: 10.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5826, allocations: 0 / 0.5251 GB, free: 10.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005992/0.5832, allocations: 0 / 0.5251 GB, free: 10.13 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: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03986/0.6231, allocations: 13.63 MB / 0.5384 GB, free: 12.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.6231, allocations: 12.03 kB / 0.5384 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03456/0.6577, allocations: 6.311 MB / 0.5445 GB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.6721, allocations: 7.262 MB / 0.5516 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007039/0.6729, allocations: 0.7301 MB / 0.5523 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00367/0.6765, allocations: 0.9452 MB / 0.5533 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03748/0.714, allocations: 16.14 MB / 0.569 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002593/0.7143, allocations: 15.91 kB / 0.569 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002161/0.7165, allocations: 400 kB / 0.5694 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005665/0.7171, allocations: 0.563 MB / 0.57 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/0.7487, allocations: 15.11 MB / 0.5847 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5009/1.25, allocations: 52.13 MB / 0.6356 GB, free: 120 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/1.266, allocations: 20.08 MB / 0.6552 GB, free: 105.9 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004858/1.271, allocations: 3.636 MB / 0.6588 GB, free: 105.9 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/1.271, allocations: 181.6 kB / 0.659 GB, free: 105.8 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/1.271, allocations: 82.42 kB / 0.659 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=447): time 5.771e-06/1.271, allocations: 3.938 kB / 0.659 GB, free: 105.7 MB / 0.4982 GB Notification: Performance of matching and sorting (n=452): time 0.04648/1.318, allocations: 20.75 MB / 0.6793 GB, free: 96.8 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.318, allocations: 100.6 kB / 0.6794 GB, free: 96.73 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/1.324, allocations: 4.496 MB / 0.6838 GB, free: 94.44 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005404/1.324, allocations: 102.9 kB / 0.6839 GB, free: 94.35 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.001984/1.326, allocations: 4.326 MB / 0.6881 GB, free: 91.16 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.327, allocations: 1.612 MB / 0.6897 GB, free: 89.77 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002309/1.33, allocations: 1.197 MB / 0.6909 GB, free: 89.08 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.61e-05/1.33, allocations: 308.2 kB / 0.6912 GB, free: 88.78 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003944/1.334, allocations: 3.066 MB / 0.6942 GB, free: 87.12 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004712/1.338, allocations: 5.212 MB / 0.6992 GB, free: 82.63 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008802/1.347, allocations: 8.865 MB / 0.7079 GB, free: 73.64 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-05/1.347, allocations: 20 kB / 0.7079 GB, free: 73.62 MB / 0.4982 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01389/1.361, allocations: 9.88 MB / 0.7176 GB, free: 63.73 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/1.361, allocations: 36 kB / 0.7176 GB, free: 63.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.936e-05/1.361, allocations: 71.94 kB / 0.7177 GB, free: 63.62 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003322/1.365, allocations: 1.411 MB / 0.7191 GB, free: 62.21 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004355/1.369, allocations: 1.392 MB / 0.7204 GB, free: 60.82 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01414/1.383, allocations: 12.67 MB / 0.7328 GB, free: 47.88 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004336/1.388, allocations: 355.7 kB / 0.7331 GB, free: 47.54 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009547/1.389, allocations: 292 kB / 0.7334 GB, free: 47.25 MB / 0.4982 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.005779/1.394, allocations: 3.893 MB / 0.7372 GB, free: 43.34 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.396, allocations: 488.8 kB / 0.7377 GB, free: 42.86 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/1.409, allocations: 8.51 MB / 0.746 GB, free: 34.29 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00884/1.418, allocations: 6.248 MB / 0.7521 GB, free: 28.03 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/1.418, allocations: 12 kB / 0.7521 GB, free: 28.02 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-05/1.418, allocations: 23.91 kB / 0.7521 GB, free: 27.99 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0284/1.447, allocations: 17.41 MB / 0.7691 GB, free: 10.49 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/1.447, allocations: 8 kB / 0.7691 GB, free: 10.48 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003007/1.45, allocations: 0.8035 MB / 0.7699 GB, free: 9.68 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/1.453, allocations: 1.286 MB / 0.7712 GB, free: 8.391 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005928/1.454, allocations: 104 kB / 0.7713 GB, free: 8.289 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/1.468, allocations: 11.57 MB / 0.7826 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/1.468, allocations: 16 kB / 0.7826 GB, free: 12.44 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.021/1.489, allocations: 11.21 MB / 0.7935 GB, free: 1.09 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003006/1.492, allocations: 1.115 MB / 0.7946 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/1.494, allocations: 84 kB / 0.7947 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/1.497, allocations: 251.6 kB / 0.7949 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/1.498, allocations: 323.5 kB / 0.7952 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006124/1.498, allocations: 136 kB / 0.7954 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005746/1.504, allocations: 3.103 MB / 0.7984 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.42e-07/1.504, allocations: 0 / 0.7984 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007645/1.512, allocations: 1.726 MB / 0.8001 GB, free: 10.34 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.002301/1.514, allocations: 0.5506 MB / 0.8006 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01522/1.529, allocations: 7.993 MB / 0.8084 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.529, allocations: 320 / 0.8084 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008299/1.538, allocations: 3.942 MB / 0.8123 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006937/1.545, allocations: 1.047 MB / 0.8133 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2211/1.766, allocations: 18.02 MB / 0.8309 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006682/1.773, allocations: 6.325 MB / 0.8371 GB, free: 174.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/1.774, allocations: 424.6 kB / 0.8375 GB, free: 174.1 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/1.774, allocations: 0 / 0.8375 GB, free: 174.1 MB / 0.545 GB Notification: Performance of Templates: time 0.7814/2.556, allocations: 228 MB / 1.06 GB, free: 165.7 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 23.057771519990638]