Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001976/0.001976, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002114, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.406/2.406, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 59.91 kB / 359.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.318, allocations: 50.54 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03153/0.3496, allocations: 26.99 MB / 437 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02164/0.3713, allocations: 8.164 MB / 445.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006071/0.3774, allocations: 195.4 kB / 445.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01979/0.3973, allocations: 9.369 MB / 454.7 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01109/0.4084, allocations: 3.314 MB / 458 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005726/0.4141, allocations: 1.826 MB / 459.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0166/0.4307, allocations: 12.24 MB / 472.1 MB, free: 3.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03864/0.4694, allocations: 24.38 MB / 496.4 MB, free: 10.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01025/0.4797, allocations: 6.476 MB / 0.4911 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01164/0.4914, allocations: 7.215 MB / 0.4982 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005152/0.4966, allocations: 1.84 MB / 0.5 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007184/0.5038, allocations: 2.222 MB / 0.5021 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005581/0.5094, allocations: 3.605 MB / 0.5057 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01171/0.5211, allocations: 6.927 MB / 0.5124 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03544/0.5566, allocations: 24.75 MB / 0.5366 GB, free: 5.477 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5566, allocations: 0 / 0.5366 GB, free: 5.477 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.52e-06/0.5566, allocations: 0 / 0.5366 GB, free: 5.477 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007039/0.5573, allocations: 3.938 kB / 0.5366 GB, free: 5.473 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.4721/1.029, allocations: 14.51 MB / 0.5508 GB, free: 108.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.029, allocations: 15.84 kB / 0.5508 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04316/1.073, allocations: 8.497 MB / 0.5591 GB, free: 103.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01696/1.09, allocations: 7.643 MB / 0.5665 GB, free: 95.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/1.091, allocations: 0.806 MB / 0.5673 GB, free: 95.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005156/1.096, allocations: 1.058 MB / 0.5684 GB, free: 94.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04858/1.144, allocations: 18.3 MB / 0.5862 GB, free: 75.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004948/1.145, allocations: 11.81 kB / 0.5862 GB, free: 75.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003471/1.148, allocations: 455.1 kB / 0.5867 GB, free: 75.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006273/1.149, allocations: 0.6749 MB / 0.5873 GB, free: 74.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03098/1.18, allocations: 17.54 MB / 0.6045 GB, free: 57.06 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08955/1.27, allocations: 59.19 MB / 0.6623 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05217/1.322, allocations: 37.47 MB / 0.6989 GB, free: 2.996 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01499/1.337, allocations: 4.097 MB / 0.7029 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/1.339, allocations: 290 kB / 0.7031 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/1.339, allocations: 86.62 kB / 0.7032 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=518): time 4.602e-05/1.339, allocations: 0 / 0.7032 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of matching and sorting (n=524): time 0.09938/1.439, allocations: 21.45 MB / 0.7242 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002077/1.439, allocations: 107.5 kB / 0.7243 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01822/1.457, allocations: 4.179 MB / 0.7283 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001781/1.459, allocations: 109.7 kB / 0.7284 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.006092/1.465, allocations: 4.517 MB / 0.7329 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004291/1.469, allocations: 1.764 MB / 0.7346 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008736/1.478, allocations: 1.358 MB / 0.7359 GB, free: 12.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.478, allocations: 305.1 kB / 0.7362 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00993/1.488, allocations: 3.445 MB / 0.7396 GB, free: 8.824 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01397/1.502, allocations: 5.877 MB / 0.7453 GB, free: 1.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4696/1.972, allocations: 10.01 MB / 0.7551 GB, free: 179.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001142/1.972, allocations: 27.66 kB / 0.7551 GB, free: 179.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02408/1.996, allocations: 10.95 MB / 0.7658 GB, free: 175 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.884e-05/1.997, allocations: 39.19 kB / 0.7658 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000172/1.997, allocations: 78.25 kB / 0.7659 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004851/2.002, allocations: 1.445 MB / 0.7673 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007716/2.009, allocations: 1.608 MB / 0.7689 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/2.026, allocations: 11.49 MB / 0.7801 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005036/2.031, allocations: 421.4 kB / 0.7805 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009636/2.032, allocations: 334.7 kB / 0.7808 GB, free: 168.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.00644/2.039, allocations: 4.162 MB / 0.7849 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/2.04, allocations: 473.9 kB / 0.7853 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/2.054, allocations: 8.479 MB / 0.7936 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01007/2.064, allocations: 7.094 MB / 0.8006 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/2.064, allocations: 8 kB / 0.8006 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-05/2.064, allocations: 30.77 kB / 0.8006 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04165/2.106, allocations: 18.76 MB / 0.8189 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/2.106, allocations: 0 / 0.8189 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006461/2.112, allocations: 0.9403 MB / 0.8198 GB, free: 133.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005627/2.118, allocations: 1.293 MB / 0.8211 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/2.119, allocations: 116 kB / 0.8212 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/2.141, allocations: 10.18 MB / 0.8311 GB, free: 121.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/2.141, allocations: 0 / 0.8311 GB, free: 121.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03191/2.173, allocations: 12.27 MB / 0.8431 GB, free: 109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004873/2.178, allocations: 1.159 MB / 0.8443 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001958/2.18, allocations: 99.98 kB / 0.8444 GB, free: 107.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005445/2.186, allocations: 267.8 kB / 0.8446 GB, free: 107.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/2.187, allocations: 356.2 kB / 0.8449 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007583/2.188, allocations: 144 kB / 0.8451 GB, free: 107 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006847/2.195, allocations: 2.826 MB / 0.8478 GB, free: 104.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.11e-07/2.195, allocations: 0 / 0.8478 GB, free: 104.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01032/2.205, allocations: 1.931 MB / 0.8497 GB, free: 102.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.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 (499): * Single equations (assignments): 497 * 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 Backend phase and start with SimCode phase: time 0.0009181/2.206, allocations: 300.9 kB / 0.85 GB, free: 101.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01304/2.219, allocations: 8.748 MB / 0.8586 GB, free: 93.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/2.219, allocations: 0 / 0.8586 GB, free: 93.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006937/2.226, allocations: 4.184 MB / 0.8626 GB, free: 88.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008499/2.235, allocations: 1.138 MB / 0.8638 GB, free: 87.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0459/2.281, allocations: 18.91 MB / 0.8822 GB, free: 68.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01336/2.294, allocations: 6.811 MB / 0.8889 GB, free: 61.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003896/2.298, allocations: 463.3 kB / 0.8893 GB, free: 61.49 MB / 0.545 GB Notification: Performance of SimCode: time 1.803e-06/2.298, allocations: 0 / 0.8893 GB, free: 61.49 MB / 0.545 GB Notification: Performance of Templates: time 0.4474/2.745, allocations: 183.6 MB / 1.069 GB, free: 89.38 MB / 0.5607 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches