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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001728/0.001728, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001033, allocations: 104.5 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009933/0.0009937, allocations: 63.89 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1939, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.0184/0.2123, allocations: 26.5 MB / 433.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.2264, allocations: 8.098 MB / 441.7 MB, free: 9.086 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00444/0.2309, allocations: 191.4 kB / 441.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01859/0.2495, allocations: 8.874 MB / 450.7 MB, free: 12 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009477/0.259, allocations: 3.04 MB / 453.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005228/0.2643, allocations: 1.731 MB / 455.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01496/0.2792, allocations: 12.5 MB / 468 MB, free: 14.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03275/0.312, allocations: 20.22 MB / 488.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008506/0.3206, allocations: 5.632 MB / 493.9 MB, free: 4.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/0.3309, allocations: 6.859 MB / 0.489 GB, free: 13.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003595/0.3345, allocations: 1.223 MB / 0.4902 GB, free: 12.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/0.3401, allocations: 1.597 MB / 0.4917 GB, free: 10.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004804/0.345, allocations: 2.972 MB / 0.4946 GB, free: 7.977 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01239/0.3574, allocations: 6.266 MB / 0.5008 GB, free: 1.684 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2102/0.5677, allocations: 24.21 MB / 0.5244 GB, free: 36.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5677, allocations: 3.594 kB / 0.5244 GB, free: 36.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.5677, allocations: 0 / 0.5244 GB, free: 36.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006841/0.5684, allocations: 0 / 0.5244 GB, free: 36.23 MB / 378.7 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.0411/0.6095, allocations: 14.59 MB / 0.5387 GB, free: 29.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6096, allocations: 11.62 kB / 0.5387 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04217/0.6518, allocations: 8.443 MB / 0.5469 GB, free: 25.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01565/0.6674, allocations: 7.444 MB / 0.5542 GB, free: 18.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/0.668, allocations: 0.8051 MB / 0.555 GB, free: 18.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00385/0.6718, allocations: 1.065 MB / 0.556 GB, free: 17.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03441/0.7062, allocations: 18.31 MB / 0.5739 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002246/0.7065, allocations: 11.91 kB / 0.5739 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001591/0.7081, allocations: 448.9 kB / 0.5743 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005598/0.7087, allocations: 0.6672 MB / 0.575 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0345/0.7432, allocations: 17.54 MB / 0.5921 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1003/0.8435, allocations: 59.84 MB / 0.6506 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2176/1.061, allocations: 37.49 MB / 0.6872 GB, free: 158.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00805/1.069, allocations: 4.148 MB / 0.6912 GB, free: 158.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/1.07, allocations: 277.6 kB / 0.6915 GB, free: 158.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/1.07, allocations: 89.78 kB / 0.6916 GB, free: 158.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 1.088e-05/1.07, allocations: 0 / 0.6916 GB, free: 158.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.0482/1.118, allocations: 21.81 MB / 0.7129 GB, free: 151.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/1.118, allocations: 104.9 kB / 0.713 GB, free: 151.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006883/1.125, allocations: 4.182 MB / 0.717 GB, free: 150.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007542/1.126, allocations: 108.1 kB / 0.7172 GB, free: 150.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.128, allocations: 4.499 MB / 0.7215 GB, free: 146.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001618/1.13, allocations: 1.798 MB / 0.7233 GB, free: 145.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003014/1.133, allocations: 1.357 MB / 0.7246 GB, free: 143.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.069e-05/1.133, allocations: 309.1 kB / 0.7249 GB, free: 143.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004679/1.137, allocations: 3.474 MB / 0.7283 GB, free: 140.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005959/1.143, allocations: 5.914 MB / 0.7341 GB, free: 134.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/1.155, allocations: 10.08 MB / 0.7439 GB, free: 124 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-05/1.155, allocations: 24 kB / 0.744 GB, free: 124 MB / 490.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01861/1.174, allocations: 10.99 MB / 0.7547 GB, free: 114 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/1.174, allocations: 36 kB / 0.7547 GB, free: 114 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/1.174, allocations: 80 kB / 0.7548 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/1.178, allocations: 1.4 MB / 0.7562 GB, free: 112.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/1.183, allocations: 1.614 MB / 0.7577 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/1.196, allocations: 10.57 MB / 0.7681 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005029/1.202, allocations: 415.3 kB / 0.7685 GB, free: 99.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.203, allocations: 328 kB / 0.7688 GB, free: 99.46 MB / 490.7 MB 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 (843): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006594/1.209, allocations: 4.179 MB / 0.7729 GB, free: 95.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/1.211, allocations: 478.1 kB / 0.7733 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/1.225, allocations: 8.535 MB / 0.7817 GB, free: 86.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009522/1.234, allocations: 7.132 MB / 0.7886 GB, free: 78.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/1.234, allocations: 8 kB / 0.7886 GB, free: 78.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.694e-05/1.234, allocations: 31.89 kB / 0.7887 GB, free: 78.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03185/1.266, allocations: 19.4 MB / 0.8076 GB, free: 59.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.266, allocations: 4 kB / 0.8076 GB, free: 59.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003457/1.27, allocations: 0.9364 MB / 0.8085 GB, free: 58.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003143/1.273, allocations: 1.254 MB / 0.8097 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004665/1.273, allocations: 112 kB / 0.8098 GB, free: 56.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/1.285, allocations: 9.308 MB / 0.8189 GB, free: 47.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.285, allocations: 0 / 0.8189 GB, free: 47.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02861/1.313, allocations: 20.52 MB / 0.839 GB, free: 26.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002799/1.316, allocations: 1.159 MB / 0.8401 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009938/1.317, allocations: 92 kB / 0.8402 GB, free: 25.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003101/1.32, allocations: 275.8 kB / 0.8405 GB, free: 25.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008841/1.321, allocations: 352.4 kB / 0.8408 GB, free: 24.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004587/1.322, allocations: 151.9 kB / 0.8409 GB, free: 24.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004294/1.326, allocations: 2.815 MB / 0.8437 GB, free: 21.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.326, allocations: 0 / 0.8437 GB, free: 21.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006998/1.333, allocations: 2.198 MB / 0.8458 GB, free: 19.57 MB / 490.7 MB 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 (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007686/1.334, allocations: 309 kB / 0.8461 GB, free: 19.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1918/1.526, allocations: 8.785 MB / 0.8547 GB, free: 163.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.526, allocations: 2.875 kB / 0.8547 GB, free: 163.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008295/1.534, allocations: 4.226 MB / 0.8588 GB, free: 162.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006141/1.54, allocations: 1.072 MB / 0.8599 GB, free: 162.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03475/1.575, allocations: 27.07 MB / 0.8863 GB, free: 149.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008783/1.584, allocations: 7.153 MB / 0.8933 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00765/1.591, allocations: 2.319 MB / 0.8956 GB, free: 143.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/1.593, allocations: 418.6 kB / 0.896 GB, free: 142.7 MB / 490.7 MB Notification: Performance of SimCode: time 8.22e-07/1.593, allocations: 4 kB / 0.896 GB, free: 142.7 MB / 490.7 MB Notification: Performance of Templates: time 0.1215/1.715, allocations: 82.48 MB / 0.9765 GB, free: 62.83 MB / 490.7 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","../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