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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2068, allocations: 50.53 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02415/0.231, allocations: 24.8 MB / 434.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.2429, allocations: 7.446 MB / 442.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.2458, allocations: 187.4 kB / 442.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.018/0.2638, allocations: 8.795 MB / 451.2 MB, free: 8.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007334/0.2712, allocations: 2.914 MB / 454.1 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.275, allocations: 1.731 MB / 455.8 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01107/0.2861, allocations: 10.81 MB / 466.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02672/0.3128, allocations: 21.84 MB / 488.5 MB, free: 2.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007012/0.3199, allocations: 5.736 MB / 494.2 MB, free: 13.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008485/0.3284, allocations: 6.281 MB / 0.4888 GB, free: 6.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002975/0.3314, allocations: 1.672 MB / 0.4904 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/0.3355, allocations: 2.05 MB / 0.4924 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002691/0.3382, allocations: 3.153 MB / 0.4955 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007351/0.3455, allocations: 6.098 MB / 0.5014 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02036/0.3659, allocations: 22.35 MB / 0.5233 GB, free: 3.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.366, allocations: 0 / 0.5233 GB, free: 3.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.366, allocations: 0 / 0.5233 GB, free: 3.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004054/0.3664, allocations: 0 / 0.5233 GB, free: 3.289 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.03338/0.3998, allocations: 12.74 MB / 0.5357 GB, free: 6.445 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3998, allocations: 12.03 kB / 0.5357 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0354/0.4352, allocations: 6.22 MB / 0.5418 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3369/0.7721, allocations: 6.9 MB / 0.5485 GB, free: 106.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.7724, allocations: 0.6975 MB / 0.5492 GB, free: 106.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.7741, allocations: 0.9158 MB / 0.5501 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.795, allocations: 15.76 MB / 0.5655 GB, free: 98.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001814/0.7952, allocations: 7.844 kB / 0.5655 GB, free: 98.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009243/0.7961, allocations: 391.2 kB / 0.5659 GB, free: 98.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003525/0.7965, allocations: 0.5526 MB / 0.5664 GB, free: 98.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.8151, allocations: 14.77 MB / 0.5808 GB, free: 83.51 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/0.8667, allocations: 52.04 MB / 0.6317 GB, free: 30.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/0.8825, allocations: 26.47 MB / 0.6575 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004198/0.8868, allocations: 3.207 MB / 0.6606 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.8872, allocations: 248.5 kB / 0.6609 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/0.8872, allocations: 77.61 kB / 0.6609 GB, free: 13.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 7.504e-06/0.8873, allocations: 3.938 kB / 0.6609 GB, free: 13.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.03689/0.9242, allocations: 17.29 MB / 0.6778 GB, free: 11.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.9242, allocations: 94.58 kB / 0.6779 GB, free: 11.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004998/0.9292, allocations: 3.696 MB / 0.6815 GB, free: 8.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.9295, allocations: 85.7 kB / 0.6816 GB, free: 7.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002395/0.9319, allocations: 3.986 MB / 0.6855 GB, free: 3.965 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.933, allocations: 1.388 MB / 0.6869 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001606/0.9346, allocations: 1.136 MB / 0.688 GB, free: 1.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.9347, allocations: 301.1 kB / 0.6883 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004008/0.9387, allocations: 2.803 MB / 0.691 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005347/0.9441, allocations: 4.953 MB / 0.6958 GB, free: 8.387 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.9542, allocations: 8.31 MB / 0.7039 GB, free: 15.08 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.353e-05/0.9542, allocations: 20 kB / 0.704 GB, free: 15.06 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01467/0.9689, allocations: 9.094 MB / 0.7128 GB, free: 5.941 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.969, allocations: 36 kB / 0.7129 GB, free: 5.906 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-05/0.9691, allocations: 68 kB / 0.7129 GB, free: 5.84 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003457/0.9725, allocations: 1.235 MB / 0.7141 GB, free: 4.602 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00459/0.9772, allocations: 1.322 MB / 0.7154 GB, free: 3.277 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/0.9919, allocations: 9.915 MB / 0.7251 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/0.9958, allocations: 327.4 kB / 0.7254 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007716/0.9966, allocations: 288 kB / 0.7257 GB, free: 8.633 MB / 0.5294 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.005833/1.002, allocations: 3.705 MB / 0.7293 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009846/1.003, allocations: 403.1 kB / 0.7297 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/1.016, allocations: 6.7 MB / 0.7363 GB, free: 13.79 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-05/1.016, allocations: 19.92 kB / 0.7363 GB, free: 13.77 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.016, allocations: 0 / 0.7363 GB, free: 13.77 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/1.018, allocations: 0.9567 MB / 0.7372 GB, free: 12.79 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007154/1.019, allocations: 71.94 kB / 0.7373 GB, free: 12.71 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.021, allocations: 199.8 kB / 0.7375 GB, free: 12.52 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/1.022, allocations: 298.9 kB / 0.7378 GB, free: 12.23 MB / 0.5451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01159/1.033, allocations: 6.339 MB / 0.7439 GB, free: 5.902 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2023/1.235, allocations: 8.168 MB / 0.7519 GB, free: 184.8 MB / 0.5451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002893/1.238, allocations: 2.501 MB / 0.7544 GB, free: 184.4 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.002834/1.241, allocations: 2.495 MB / 0.7568 GB, free: 183.5 MB / 0.5451 GB Notification: Performance of Backend: time 8.51e-07/1.241, allocations: 0 / 0.7568 GB, free: 183.5 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.008116/1.249, allocations: 5.271 MB / 0.7619 GB, free: 181.4 MB / 0.5451 GB Notification: Performance of SimCode: time 0.01854/1.268, allocations: 15.48 MB / 0.7771 GB, free: 174.4 MB / 0.5451 GB Notification: Performance of Templates: time 0.09641/1.364, allocations: 78.66 MB / 0.8539 GB, free: 105.4 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (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) 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.0.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) Reference file matches