Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 115.6 kB / 18.45 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.001488/0.001488, allocations: 206.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.89 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2216, allocations: 50.54 MB / 410.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02777/0.2494, allocations: 24.87 MB / 435.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.2651, allocations: 7.45 MB / 442.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004123/0.2692, allocations: 191.4 kB / 442.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02094/0.2901, allocations: 8.874 MB / 451.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00929/0.2994, allocations: 2.96 MB / 454.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005082/0.3045, allocations: 1.726 MB / 456.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01461/0.3191, allocations: 10.82 MB / 467.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02525/0.3444, allocations: 16.59 MB / 483.7 MB, free: 7.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008161/0.3525, allocations: 5.736 MB / 489.4 MB, free: 1.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.3631, allocations: 6.288 MB / 495.7 MB, free: 11.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00576/0.3689, allocations: 1.676 MB / 497.4 MB, free: 9.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006272/0.3752, allocations: 2.05 MB / 499.5 MB, free: 7.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005362/0.3805, allocations: 3.16 MB / 0.4908 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01062/0.3912, allocations: 6.098 MB / 0.4968 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02749/0.4187, allocations: 22.4 MB / 0.5187 GB, free: 8.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4187, allocations: 0 / 0.5187 GB, free: 8.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4187, allocations: 0 / 0.5187 GB, free: 8.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004778/0.4191, allocations: 0 / 0.5187 GB, free: 8.098 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03827/0.4574, allocations: 12.96 MB / 0.5313 GB, free: 11.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4574, allocations: 12.03 kB / 0.5313 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03658/0.494, allocations: 6.261 MB / 0.5375 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2153/0.7093, allocations: 6.923 MB / 0.5442 GB, free: 109.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005476/0.7099, allocations: 0.7009 MB / 0.5449 GB, free: 109.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/0.7129, allocations: 0.9205 MB / 0.5458 GB, free: 109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02983/0.7427, allocations: 15.74 MB / 0.5612 GB, free: 102.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002751/0.743, allocations: 17.38 kB / 0.5612 GB, free: 102.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002036/0.7451, allocations: 387.9 kB / 0.5616 GB, free: 102.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000392/0.7454, allocations: 0.565 MB / 0.5621 GB, free: 102.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/0.7685, allocations: 14.77 MB / 0.5765 GB, free: 89.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06043/0.829, allocations: 52.16 MB / 0.6275 GB, free: 36.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01771/0.8467, allocations: 26.08 MB / 0.6529 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004115/0.8508, allocations: 2.927 MB / 0.6558 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.8511, allocations: 252.5 kB / 0.656 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.8512, allocations: 73.69 kB / 0.6561 GB, free: 3.711 MB / 462.1 MB Notification: Performance of pre-optimization done (n=398): time 5.19e-06/0.8512, allocations: 0 / 0.6561 GB, free: 3.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=404): time 0.04122/0.8924, allocations: 17.39 MB / 0.6731 GB, free: 2.266 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/0.8925, allocations: 94.58 kB / 0.6732 GB, free: 2.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005931/0.8984, allocations: 3.697 MB / 0.6768 GB, free: 14.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006462/0.8991, allocations: 89.7 kB / 0.6769 GB, free: 14.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003275/0.9023, allocations: 4.119 MB / 0.6809 GB, free: 10.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001746/0.9041, allocations: 1.445 MB / 0.6823 GB, free: 8.812 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/0.906, allocations: 1.144 MB / 0.6834 GB, free: 7.656 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9061, allocations: 305.1 kB / 0.6837 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004657/0.9108, allocations: 2.799 MB / 0.6864 GB, free: 4.551 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006568/0.9173, allocations: 4.949 MB / 0.6913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/0.9296, allocations: 8.31 MB / 0.6994 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.358e-05/0.9297, allocations: 20 kB / 0.6994 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.017/0.9467, allocations: 9.082 MB / 0.7083 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.9467, allocations: 36 kB / 0.7083 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.9468, allocations: 72 kB / 0.7084 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003647/0.9505, allocations: 1.223 MB / 0.7096 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004872/0.9554, allocations: 1.322 MB / 0.7109 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/0.9719, allocations: 9.928 MB / 0.7206 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00436/0.9763, allocations: 343.5 kB / 0.7209 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000728/0.977, allocations: 280 kB / 0.7212 GB, free: 14.85 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006244/0.9833, allocations: 3.712 MB / 0.7248 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009065/0.9842, allocations: 421.2 kB / 0.7252 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.9969, allocations: 6.666 MB / 0.7317 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009794/1.007, allocations: 5.559 MB / 0.7371 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/1.007, allocations: 12 kB / 0.7371 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-05/1.007, allocations: 19.92 kB / 0.7372 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2311/1.238, allocations: 15.73 MB / 0.7525 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/1.238, allocations: 5.625 kB / 0.7525 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/1.241, allocations: 0.7241 MB / 0.7532 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003278/1.244, allocations: 1.114 MB / 0.7543 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005747/1.245, allocations: 91.8 kB / 0.7544 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/1.256, allocations: 8.851 MB / 0.763 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/1.256, allocations: 7.719 kB / 0.7631 GB, free: 180.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.269, allocations: 9.828 MB / 0.7727 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/1.271, allocations: 0.9812 MB / 0.7736 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005366/1.271, allocations: 75.5 kB / 0.7737 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.273, allocations: 205.4 kB / 0.7739 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005517/1.274, allocations: 282.8 kB / 0.7741 GB, free: 175.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/1.274, allocations: 123.1 kB / 0.7743 GB, free: 175.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003298/1.277, allocations: 2.499 MB / 0.7767 GB, free: 174.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.277, allocations: 0 / 0.7767 GB, free: 174.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00492/1.282, allocations: 1.606 MB / 0.7783 GB, free: 174.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.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 (389): * Single equations (assignments): 387 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006827/1.283, allocations: 277.8 kB / 0.7785 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.293, allocations: 6.859 MB / 0.7852 GB, free: 172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.293, allocations: 0 / 0.7852 GB, free: 172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00541/1.298, allocations: 3.168 MB / 0.7883 GB, free: 170.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/1.303, allocations: 0.9872 MB / 0.7893 GB, free: 170.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/1.326, allocations: 16.67 MB / 0.8056 GB, free: 156.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006263/1.332, allocations: 6.191 MB / 0.8116 GB, free: 151.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004773/1.337, allocations: 1.911 MB / 0.8135 GB, free: 149.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.338, allocations: 347.4 kB / 0.8138 GB, free: 149.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.382e-06/1.338, allocations: 0 / 0.8138 GB, free: 149.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1021/1.44, allocations: 66.87 MB / 0.8791 GB, free: 82.71 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches