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_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 116.1 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 181.4 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009413/0.0009413, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2045, allocations: 49.42 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02398/0.2285, allocations: 24.78 MB / 426.2 MB, free: 8 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.2408, allocations: 7.348 MB / 433.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/0.2441, allocations: 187.4 kB / 433.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01813/0.2622, allocations: 8.831 MB / 442.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007618/0.2699, allocations: 2.961 MB / 445.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004065/0.2739, allocations: 1.711 MB / 447.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01146/0.2854, allocations: 10.73 MB / 458 MB, free: 160 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02677/0.3122, allocations: 21.83 MB / 479.8 MB, free: 10.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006379/0.3186, allocations: 5.712 MB / 485.5 MB, free: 4.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008033/0.3266, allocations: 6.253 MB / 491.8 MB, free: 14.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002915/0.3296, allocations: 1.672 MB / 493.4 MB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004478/0.3341, allocations: 2.043 MB / 495.5 MB, free: 10.47 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003056/0.3371, allocations: 3.149 MB / 498.6 MB, free: 7.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006464/0.3436, allocations: 6.09 MB / 0.4929 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0182/0.3618, allocations: 22.32 MB / 0.5147 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.3618, allocations: 4 kB / 0.5147 GB, free: 10.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3619, allocations: 0 / 0.5147 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002935/0.3622, allocations: 0 / 0.5147 GB, free: 10.82 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.02957/0.3917, allocations: 12.72 MB / 0.5271 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3918, allocations: 16.02 kB / 0.5271 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03481/0.4266, allocations: 6.197 MB / 0.5332 GB, free: 7.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.439, allocations: 6.909 MB / 0.5399 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004395/0.4395, allocations: 0.6985 MB / 0.5406 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3231/0.7626, allocations: 0.9184 MB / 0.5415 GB, free: 116 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02273/0.7853, allocations: 15.74 MB / 0.5569 GB, free: 110.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.7855, allocations: 15.38 kB / 0.5569 GB, free: 110.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009789/0.7865, allocations: 388.1 kB / 0.5573 GB, free: 109.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003583/0.7869, allocations: 0.5504 MB / 0.5578 GB, free: 109.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.8058, allocations: 14.78 MB / 0.5722 GB, free: 97.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05018/0.856, allocations: 50.98 MB / 0.622 GB, free: 45.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/0.8728, allocations: 26.47 MB / 0.6479 GB, free: 16.01 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003633/0.8765, allocations: 3.198 MB / 0.651 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/0.8768, allocations: 167.6 kB / 0.6512 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.8768, allocations: 77.62 kB / 0.6512 GB, free: 12.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 6.442e-06/0.8768, allocations: 0 / 0.6512 GB, free: 12.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.03333/0.9102, allocations: 17.29 MB / 0.6681 GB, free: 11.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.9102, allocations: 94.58 kB / 0.6682 GB, free: 11.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004869/0.9151, allocations: 3.696 MB / 0.6718 GB, free: 7.391 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.9154, allocations: 89.7 kB / 0.6719 GB, free: 7.297 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002286/0.9177, allocations: 3.985 MB / 0.6758 GB, free: 3.289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.9187, allocations: 1.372 MB / 0.6771 GB, free: 1.926 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/0.9203, allocations: 1.14 MB / 0.6782 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.9204, allocations: 301.1 kB / 0.6785 GB, free: 488 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003978/0.9244, allocations: 2.795 MB / 0.6813 GB, free: 13.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005294/0.9297, allocations: 4.963 MB / 0.6861 GB, free: 7.719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009795/0.9395, allocations: 8.316 MB / 0.6942 GB, free: 14.41 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-05/0.9395, allocations: 20 kB / 0.6942 GB, free: 14.39 MB / 0.4982 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01432/0.9539, allocations: 9.095 MB / 0.7031 GB, free: 5.27 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.9539, allocations: 36 kB / 0.7032 GB, free: 5.234 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.399e-05/0.954, allocations: 68 kB / 0.7032 GB, free: 5.168 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003419/0.9574, allocations: 1.225 MB / 0.7044 GB, free: 3.945 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/0.9618, allocations: 1.322 MB / 0.7057 GB, free: 2.621 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.9765, allocations: 9.923 MB / 0.7154 GB, free: 8.566 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/0.9798, allocations: 327.4 kB / 0.7157 GB, free: 8.246 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004166/0.9802, allocations: 288 kB / 0.716 GB, free: 7.965 MB / 0.5138 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.005/0.9852, allocations: 3.709 MB / 0.7196 GB, free: 4.242 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006671/0.9859, allocations: 395.1 kB / 0.72 GB, free: 3.852 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.9972, allocations: 6.693 MB / 0.7265 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.755e-05/0.9973, allocations: 19.92 kB / 0.7265 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.9973, allocations: 4 kB / 0.7265 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/0.9991, allocations: 0.9645 MB / 0.7275 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/0.9996, allocations: 68 kB / 0.7276 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/1.001, allocations: 199.8 kB / 0.7277 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005156/1.002, allocations: 298.9 kB / 0.728 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01095/1.013, allocations: 6.344 MB / 0.7342 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1972/1.21, allocations: 8.165 MB / 0.7422 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002719/1.213, allocations: 2.502 MB / 0.7446 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002817/1.216, allocations: 2.491 MB / 0.7471 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of Backend: time 3.4e-07/1.216, allocations: 3.188 kB / 0.7471 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008475/1.224, allocations: 5.272 MB / 0.7522 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01939/1.244, allocations: 15.46 MB / 0.7673 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.09664/1.34, allocations: 78.47 MB / 0.844 GB, free: 95.71 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches