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.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 108.7 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.001728/0.001728, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009666/0.0009666, allocations: 47.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2099, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02659/0.2365, allocations: 26.96 MB / 428.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.2504, allocations: 8.043 MB / 436.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.2538, allocations: 203.4 kB / 436.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01962/0.2734, allocations: 9.413 MB / 446.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008626/0.2821, allocations: 3.362 MB / 449.4 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.2864, allocations: 1.816 MB / 451.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.2988, allocations: 12.13 MB / 463.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02917/0.328, allocations: 24.39 MB / 487.8 MB, free: 2.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006984/0.335, allocations: 6.464 MB / 494.2 MB, free: 11.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007961/0.343, allocations: 7.176 MB / 0.4897 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002222/0.3452, allocations: 1.84 MB / 0.4915 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.3487, allocations: 2.199 MB / 0.4936 GB, free: 440 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002697/0.3514, allocations: 3.609 MB / 0.4971 GB, free: 12.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006433/0.3578, allocations: 6.919 MB / 0.5039 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.3772, allocations: 24.73 MB / 0.528 GB, free: 13.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3772, allocations: 7.938 kB / 0.528 GB, free: 13.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3772, allocations: 0 / 0.528 GB, free: 13.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003186/0.3776, allocations: 0 / 0.528 GB, free: 13.05 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.3582/0.7358, allocations: 14.48 MB / 0.5422 GB, free: 114.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.7359, allocations: 10.19 kB / 0.5422 GB, free: 114.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04591/0.7818, allocations: 8.484 MB / 0.5505 GB, free: 112.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01119/0.793, allocations: 7.644 MB / 0.5579 GB, free: 107.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/0.7933, allocations: 0.8054 MB / 0.5587 GB, free: 107 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001601/0.795, allocations: 1.059 MB / 0.5598 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02384/0.8188, allocations: 18.29 MB / 0.5776 GB, free: 87.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001819/0.819, allocations: 15.84 kB / 0.5776 GB, free: 87.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/0.8201, allocations: 447.4 kB / 0.5781 GB, free: 87.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004293/0.8206, allocations: 0.6711 MB / 0.5787 GB, free: 86.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/0.8428, allocations: 17.54 MB / 0.5958 GB, free: 69.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05905/0.9018, allocations: 58.06 MB / 0.6525 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0272/0.9291, allocations: 37.47 MB / 0.6891 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005763/0.9349, allocations: 4.107 MB / 0.6932 GB, free: 12.39 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.9352, allocations: 192.9 kB / 0.6933 GB, free: 12.18 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/0.9353, allocations: 86.62 kB / 0.6934 GB, free: 12.09 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=518): time 7.434e-06/0.9353, allocations: 0 / 0.6934 GB, free: 12.09 MB / 0.4982 GB Notification: Performance of matching and sorting (n=524): time 0.04534/0.9807, allocations: 21.44 MB / 0.7144 GB, free: 6.391 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.9807, allocations: 107.5 kB / 0.7145 GB, free: 6.27 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006169/0.9869, allocations: 4.175 MB / 0.7185 GB, free: 2.066 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003067/0.9872, allocations: 109.7 kB / 0.7186 GB, free: 1.953 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002642/0.9899, allocations: 4.505 MB / 0.723 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/0.9912, allocations: 1.775 MB / 0.7248 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/0.9932, allocations: 1.355 MB / 0.7261 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.9933, allocations: 309.1 kB / 0.7264 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005046/0.9983, allocations: 3.438 MB / 0.7297 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006544/1.005, allocations: 5.881 MB / 0.7355 GB, free: 15.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/1.017, allocations: 10.02 MB / 0.7453 GB, free: 4.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-05/1.017, allocations: 24 kB / 0.7453 GB, free: 4.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2/1.217, allocations: 10.93 MB / 0.756 GB, free: 188.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/1.217, allocations: 41.53 kB / 0.756 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-05/1.217, allocations: 78.59 kB / 0.7561 GB, free: 188.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003543/1.221, allocations: 1.452 MB / 0.7575 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/1.226, allocations: 1.607 MB / 0.7591 GB, free: 188.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/1.24, allocations: 11.49 MB / 0.7703 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/1.244, allocations: 415.6 kB / 0.7707 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/1.245, allocations: 333.3 kB / 0.771 GB, free: 182.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * 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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004827/1.25, allocations: 4.158 MB / 0.7751 GB, free: 180.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/1.25, allocations: 474.4 kB / 0.7755 GB, free: 180.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.263, allocations: 8.484 MB / 0.7838 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/1.263, allocations: 29.67 kB / 0.7838 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/1.263, allocations: 0 / 0.7838 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/1.265, allocations: 1.183 MB / 0.785 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006373/1.266, allocations: 89.78 kB / 0.7851 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.268, allocations: 274.3 kB / 0.7853 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006075/1.269, allocations: 374.3 kB / 0.7857 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01176/1.28, allocations: 8.049 MB / 0.7936 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01148/1.292, allocations: 10.41 MB / 0.8037 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003226/1.295, allocations: 3.224 MB / 0.8069 GB, free: 156.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003202/1.298, allocations: 2.811 MB / 0.8096 GB, free: 153.7 MB / 0.545 GB Notification: Performance of Backend: time 3.51e-07/1.298, allocations: 4 kB / 0.8096 GB, free: 153.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009675/1.308, allocations: 6.301 MB / 0.8158 GB, free: 147.5 MB / 0.545 GB Notification: Performance of SimCode: time 0.02183/1.33, allocations: 17.84 MB / 0.8332 GB, free: 129.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1149/1.445, allocations: 90.9 MB / 0.922 GB, free: 39.34 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches