Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001233/0.001233, allocations: 109.7 kB / 18.4 MB, free: 4.645 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.001168/0.001168, allocations: 187 kB / 19.34 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.1 MB / 225.2 MB, free: 12.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 51.92 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06869/0.06989, allocations: 46.63 MB / 375.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1644/0.2343, allocations: 24.87 MB / 400.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.2485, allocations: 7.355 MB / 408.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003911/0.2525, allocations: 158.3 kB / 408.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01889/0.2714, allocations: 8.846 MB / 417.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008575/0.28, allocations: 3.022 MB / 420.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.2843, allocations: 1.731 MB / 421.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.296, allocations: 10.87 MB / 432.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02723/0.3233, allocations: 21.86 MB / 454.6 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007164/0.3305, allocations: 5.806 MB / 460.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008398/0.3389, allocations: 6.343 MB / 466.7 MB, free: 4.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002622/0.3415, allocations: 1.68 MB / 468.4 MB, free: 2.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00386/0.3454, allocations: 2.039 MB / 470.4 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.3478, allocations: 3.227 MB / 473.7 MB, free: 13.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00576/0.3536, allocations: 6.164 MB / 479.8 MB, free: 7.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01776/0.3714, allocations: 22.38 MB / 0.4904 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3714, allocations: 0 / 0.4904 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3714, allocations: 4 kB / 0.4905 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002759/0.3717, allocations: 0 / 0.4905 GB, free: 0.9688 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.02973/0.4014, allocations: 12.9 MB / 0.5031 GB, free: 3.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4015, allocations: 8.031 kB / 0.5031 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04014/0.4416, allocations: 7.187 MB / 0.5101 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/0.4549, allocations: 6.168 MB / 0.5161 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006133/0.4555, allocations: 0.7144 MB / 0.5168 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002886/0.4584, allocations: 0.9373 MB / 0.5177 GB, free: 4.875 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02975/0.4882, allocations: 16.2 MB / 0.5335 GB, free: 4.609 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.4884, allocations: 11.91 kB / 0.5336 GB, free: 4.598 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.4895, allocations: 400 kB / 0.5339 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00053/0.49, allocations: 0.5825 MB / 0.5345 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02508/0.5151, allocations: 15.46 MB / 0.5496 GB, free: 4.137 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3508/0.866, allocations: 52.23 MB / 0.6006 GB, free: 105.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02044/0.8864, allocations: 35.49 MB / 0.6353 GB, free: 70.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/0.8902, allocations: 3.385 MB / 0.6386 GB, free: 68.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/0.9036, allocations: 10.04 MB / 0.6484 GB, free: 60.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.9037, allocations: 68.11 kB / 0.6484 GB, free: 60.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 5.29e-06/0.9037, allocations: 0 / 0.6484 GB, free: 60.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.02919/0.9329, allocations: 15.37 MB / 0.6634 GB, free: 45.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.9329, allocations: 81.78 kB / 0.6635 GB, free: 44.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.9369, allocations: 3.856 MB / 0.6673 GB, free: 41.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.9371, allocations: 69.7 kB / 0.6674 GB, free: 41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.9385, allocations: 4.26 MB / 0.6715 GB, free: 36.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005338/0.939, allocations: 1.06 MB / 0.6725 GB, free: 35.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.9403, allocations: 1.099 MB / 0.6736 GB, free: 34.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 2.886e-05/0.9403, allocations: 301.1 kB / 0.6739 GB, free: 34.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/0.9434, allocations: 2.548 MB / 0.6764 GB, free: 31.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/0.9471, allocations: 4.913 MB / 0.6812 GB, free: 25.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007022/0.9541, allocations: 7.946 MB / 0.689 GB, free: 16.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/0.9541, allocations: 24 kB / 0.689 GB, free: 16.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01156/0.9657, allocations: 8.64 MB / 0.6974 GB, free: 7.871 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.9658, allocations: 43.98 kB / 0.6975 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.426e-05/0.9658, allocations: 80 kB / 0.6975 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003037/0.9689, allocations: 1.24 MB / 0.6987 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/0.9726, allocations: 1.221 MB / 0.6999 GB, free: 5.285 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.9863, allocations: 9.962 MB / 0.7097 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/0.9898, allocations: 331.3 kB / 0.71 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/0.9902, allocations: 291.9 kB / 0.7103 GB, free: 10.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005032/0.9952, allocations: 3.728 MB / 0.7139 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006587/0.9959, allocations: 379.3 kB / 0.7143 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/1.006, allocations: 5.803 MB / 0.7199 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-05/1.006, allocations: 19.94 kB / 0.7199 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.006, allocations: 0 / 0.7199 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.008, allocations: 0.8487 MB / 0.7208 GB, free: 15.71 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004943/1.008, allocations: 56 kB / 0.7208 GB, free: 15.65 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/1.01, allocations: 179.7 kB / 0.721 GB, free: 15.48 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004713/1.011, allocations: 250.2 kB / 0.7212 GB, free: 15.23 MB / 0.4982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009778/1.021, allocations: 5.408 MB / 0.7265 GB, free: 9.844 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009212/1.03, allocations: 6.727 MB / 0.7331 GB, free: 3.047 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002673/1.032, allocations: 2.073 MB / 0.7351 GB, free: 0.9609 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003575/1.036, allocations: 2.585 MB / 0.7376 GB, free: 14.39 MB / 0.5138 GB Notification: Performance of Backend: time 3.71e-07/1.036, allocations: 0 / 0.7376 GB, free: 14.39 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009309/1.045, allocations: 4.969 MB / 0.7425 GB, free: 9.453 MB / 0.5138 GB Notification: Performance of SimCode: time 0.182/1.227, allocations: 15.56 MB / 0.7577 GB, free: 175.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.0972/1.325, allocations: 74.59 MB / 0.8305 GB, free: 124.1 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches