Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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.001865/0.001865, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002387/0.002387, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.459/1.459, allocations: 230.5 MB / 258.1 MB, free: 7.992 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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 59.91 kB / 379.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.273, allocations: 53.41 MB / 432.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02929/0.3023, allocations: 24.95 MB / 457.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.3189, allocations: 7.497 MB / 464.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005768/0.3246, allocations: 222.9 kB / 465.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02192/0.3465, allocations: 8.902 MB / 474 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.3587, allocations: 3.042 MB / 477.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006395/0.3651, allocations: 1.779 MB / 478.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01805/0.3831, allocations: 10.94 MB / 489.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02552/0.4086, allocations: 14.36 MB / 0.4924 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01089/0.4195, allocations: 5.857 MB / 0.4981 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0127/0.4322, allocations: 6.37 MB / 0.5043 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005741/0.4379, allocations: 1.668 MB / 0.5059 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007947/0.4459, allocations: 2.062 MB / 0.5079 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006347/0.4522, allocations: 3.172 MB / 0.511 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01231/0.4646, allocations: 6.098 MB / 0.517 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5832/1.048, allocations: 22.39 MB / 0.5389 GB, free: 39.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.048, allocations: 0 / 0.5389 GB, free: 39.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/1.048, allocations: 1.234 kB / 0.5389 GB, free: 39.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007344/1.049, allocations: 0 / 0.5389 GB, free: 39.68 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: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.05075/1.099, allocations: 12.89 MB / 0.5514 GB, free: 36.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.016e-05/1.099, allocations: 10.44 kB / 0.5515 GB, free: 36.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03763/1.137, allocations: 6.177 MB / 0.5575 GB, free: 35.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01993/1.157, allocations: 7.015 MB / 0.5643 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/1.158, allocations: 0.6993 MB / 0.565 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005545/1.163, allocations: 0.9147 MB / 0.5659 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04685/1.21, allocations: 15.78 MB / 0.5813 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005989/1.211, allocations: 11.91 kB / 0.5813 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005687/1.217, allocations: 395.9 kB / 0.5817 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007305/1.217, allocations: 0.5547 MB / 0.5823 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0338/1.251, allocations: 14.8 MB / 0.5967 GB, free: 8.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1147/1.366, allocations: 49.9 MB / 0.6455 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02124/1.387, allocations: 9.319 MB / 0.6546 GB, free: 13.84 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006457/1.394, allocations: 2.928 MB / 0.6574 GB, free: 10.91 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/1.394, allocations: 122.6 kB / 0.6575 GB, free: 10.81 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/1.394, allocations: 73.69 kB / 0.6576 GB, free: 10.73 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 8.455e-06/1.394, allocations: 0 / 0.6576 GB, free: 10.73 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.05098/1.445, allocations: 17.27 MB / 0.6745 GB, free: 9.484 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.445, allocations: 98.52 kB / 0.6746 GB, free: 9.375 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008562/1.454, allocations: 3.693 MB / 0.6782 GB, free: 5.684 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000894/1.455, allocations: 89.7 kB / 0.6782 GB, free: 5.59 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003365/1.458, allocations: 4.132 MB / 0.6823 GB, free: 1.449 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/1.46, allocations: 1.444 MB / 0.6837 GB, free: 24 kB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002269/1.463, allocations: 1.152 MB / 0.6848 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.463, allocations: 309.1 kB / 0.6851 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004973/1.468, allocations: 2.799 MB / 0.6878 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008119/1.476, allocations: 4.961 MB / 0.6927 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01341/1.489, allocations: 8.328 MB / 0.7008 GB, free: 12.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-05/1.49, allocations: 20 kB / 0.7008 GB, free: 12.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01968/1.509, allocations: 9.1 MB / 0.7097 GB, free: 4.102 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/1.509, allocations: 32.53 kB / 0.7098 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/1.509, allocations: 72 kB / 0.7098 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003649/1.513, allocations: 1.22 MB / 0.711 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005532/1.519, allocations: 1.328 MB / 0.7123 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/1.536, allocations: 9.814 MB / 0.7219 GB, free: 7.672 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005139/1.541, allocations: 343.4 kB / 0.7222 GB, free: 7.336 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.543, allocations: 288 kB / 0.7225 GB, free: 7.055 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009319/1.552, allocations: 3.707 MB / 0.7261 GB, free: 3.426 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001744/1.554, allocations: 425.3 kB / 0.7265 GB, free: 3.008 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/1.569, allocations: 6.666 MB / 0.733 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01053/1.579, allocations: 5.579 MB / 0.7385 GB, free: 6.777 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.112e-05/1.579, allocations: 12 kB / 0.7385 GB, free: 6.766 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.719e-05/1.579, allocations: 19.92 kB / 0.7385 GB, free: 6.746 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03901/1.618, allocations: 15.78 MB / 0.7539 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/1.618, allocations: 7.281 kB / 0.7539 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003244/1.622, allocations: 0.7278 MB / 0.7546 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003527/1.625, allocations: 1.115 MB / 0.7557 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005646/1.626, allocations: 91.97 kB / 0.7558 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3213/1.947, allocations: 8.741 MB / 0.7644 GB, free: 223.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.947, allocations: 7.906 kB / 0.7644 GB, free: 223.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/1.967, allocations: 9.862 MB / 0.774 GB, free: 220.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004632/1.972, allocations: 0.9186 MB / 0.7749 GB, free: 220.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001706/1.973, allocations: 78.84 kB / 0.775 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004482/1.978, allocations: 193.8 kB / 0.7752 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/1.979, allocations: 310.5 kB / 0.7755 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005249/1.98, allocations: 120.8 kB / 0.7756 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007936/1.988, allocations: 2.502 MB / 0.778 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/1.988, allocations: 0 / 0.778 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01337/2.001, allocations: 1.608 MB / 0.7796 GB, free: 219.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.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 (389): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001571/2.003, allocations: 282.7 kB / 0.7798 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01842/2.021, allocations: 6.865 MB / 0.7866 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/2.021, allocations: 0 / 0.7866 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.009288/2.03, allocations: 3.183 MB / 0.7897 GB, free: 215.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/2.04, allocations: 0.9778 MB / 0.7906 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03324/2.073, allocations: 16.45 MB / 0.8067 GB, free: 201.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005585/2.079, allocations: 6.001 MB / 0.8125 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001699/2.081, allocations: 408.5 kB / 0.8129 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/2.081, allocations: 0 / 0.8129 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1903/2.271, allocations: 160.7 MB / 0.9699 GB, free: 37.52 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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: 18.231868536910042]