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.0008035/0.0008035, allocations: 97.53 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008708/0.0008708, allocations: 190.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 246.4 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002068/0.0002069, allocations: 8 kB / 307.1 MB, free: 1.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08742/0.08764, allocations: 51.52 MB / 358.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.1939/0.2816, allocations: 23.51 MB / 382.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01798/0.2996, allocations: 7.504 MB / 389.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006368/0.306, allocations: 177.3 kB / 389.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006202/0.3123, allocations: 1.483 MB / 391.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.323, allocations: 2.746 MB / 394.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005515/0.3285, allocations: 1.272 MB / 395.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02166/0.3502, allocations: 14.74 MB / 410.1 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04249/0.3927, allocations: 19.84 MB / 429.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008605/0.4014, allocations: 4.778 MB / 434.7 MB, free: 76 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008223/0.4097, allocations: 5.297 MB / 440 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001686/0.4114, allocations: 0.7188 MB / 440.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.4152, allocations: 1.093 MB / 441.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.4172, allocations: 2.223 MB / 444 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003477/0.4207, allocations: 2.313 MB / 446.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0223/0.443, allocations: 20.97 MB / 467.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4431, allocations: 0 / 467.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.4431, allocations: 4 kB / 467.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004768/0.4436, allocations: 0 / 467.3 MB, free: 15.36 MB / 382.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.03128/0.4748, allocations: 12.28 MB / 479.6 MB, free: 2.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4749, allocations: 12.03 kB / 479.6 MB, free: 2.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04447/0.5194, allocations: 8.492 MB / 488.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/0.5339, allocations: 7.38 MB / 495.5 MB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008555/0.5348, allocations: 0.8069 MB / 496.3 MB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003977/0.5388, allocations: 1.066 MB / 497.3 MB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04381/0.5826, allocations: 18.22 MB / 0.5035 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00042/0.5831, allocations: 19.89 kB / 0.5035 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003125/0.5862, allocations: 451.9 kB / 0.5039 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007215/0.5869, allocations: 0.6633 MB / 0.5046 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03935/0.6263, allocations: 17.46 MB / 0.5216 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4581/1.084, allocations: 59.98 MB / 0.5802 GB, free: 92.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02778/1.112, allocations: 37.42 MB / 0.6167 GB, free: 57.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008861/1.121, allocations: 4.146 MB / 0.6208 GB, free: 55.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.122, allocations: 276.6 kB / 0.6211 GB, free: 54.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/1.122, allocations: 90.61 kB / 0.6211 GB, free: 54.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=524): time 1.69e-05/1.123, allocations: 3.031 kB / 0.6211 GB, free: 54.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=530): time 0.05816/1.181, allocations: 23.85 MB / 0.6444 GB, free: 30.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.181, allocations: 103.5 kB / 0.6445 GB, free: 30.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006822/1.188, allocations: 4.155 MB / 0.6486 GB, free: 26.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001105/1.189, allocations: 109.6 kB / 0.6487 GB, free: 26.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002738/1.192, allocations: 4.507 MB / 0.6531 GB, free: 21.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002061/1.194, allocations: 1.791 MB / 0.6549 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008799/1.194, allocations: 148 kB / 0.655 GB, free: 20.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004854/1.195, allocations: 0.5956 MB / 0.6556 GB, free: 19.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/1.201, allocations: 3.457 MB / 0.659 GB, free: 15.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006552/1.207, allocations: 5.909 MB / 0.6647 GB, free: 8.949 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007104/1.214, allocations: 4.783 MB / 0.6694 GB, free: 4.125 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.217e-05/1.215, allocations: 20 kB / 0.6694 GB, free: 4.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.02328/1.238, allocations: 10.94 MB / 0.6801 GB, free: 9.066 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/1.238, allocations: 40 kB / 0.6801 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001603/1.238, allocations: 76 kB / 0.6802 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003926/1.242, allocations: 1.413 MB / 0.6816 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006651/1.249, allocations: 1.614 MB / 0.6832 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/1.266, allocations: 10.57 MB / 0.6935 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00528/1.271, allocations: 415.2 kB / 0.6939 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.273, allocations: 332 kB / 0.6942 GB, free: 10.49 MB / 478.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01031/1.283, allocations: 4.169 MB / 0.6983 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001696/1.285, allocations: 478.1 kB / 0.6987 GB, free: 5.832 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01873/1.304, allocations: 8.534 MB / 0.7071 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01428/1.318, allocations: 7.113 MB / 0.714 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-05/1.318, allocations: 19.95 kB / 0.714 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.39e-05/1.318, allocations: 27.89 kB / 0.714 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2547/1.573, allocations: 19.38 MB / 0.733 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.573, allocations: 5.828 kB / 0.733 GB, free: 158.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/1.576, allocations: 0.9327 MB / 0.7339 GB, free: 158.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/1.58, allocations: 1.253 MB / 0.7351 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004132/1.58, allocations: 110.4 kB / 0.7352 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.592, allocations: 9.314 MB / 0.7443 GB, free: 153.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.592, allocations: 3.938 kB / 0.7443 GB, free: 153.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/1.609, allocations: 12.34 MB / 0.7564 GB, free: 148.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/1.611, allocations: 1.169 MB / 0.7575 GB, free: 147.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/1.612, allocations: 91.41 kB / 0.7576 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/1.615, allocations: 283.2 kB / 0.7579 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006708/1.616, allocations: 349.9 kB / 0.7582 GB, free: 147.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002749/1.616, allocations: 146.9 kB / 0.7583 GB, free: 147.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003973/1.62, allocations: 2.792 MB / 0.7611 GB, free: 146.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/1.62, allocations: 0 / 0.7611 GB, free: 146.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006317/1.626, allocations: 1.94 MB / 0.763 GB, free: 145.4 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006519/1.627, allocations: 314.8 kB / 0.7633 GB, free: 145.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01198/1.639, allocations: 8.761 MB / 0.7718 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.639, allocations: 2 kB / 0.7718 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00557/1.645, allocations: 4.226 MB / 0.7759 GB, free: 133.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00561/1.65, allocations: 1.09 MB / 0.777 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0293/1.68, allocations: 23.07 MB / 0.7995 GB, free: 109.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006423/1.686, allocations: 7.013 MB / 0.8064 GB, free: 102.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006158/1.692, allocations: 2.309 MB / 0.8086 GB, free: 100.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/1.693, allocations: 419.3 kB / 0.809 GB, free: 99.66 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/1.693, allocations: 0 / 0.809 GB, free: 99.66 MB / 494.1 MB Notification: Performance of Templates: time 0.1089/1.802, allocations: 77.04 MB / 0.8843 GB, free: 23.05 MB / 494.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/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