Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 114.5 kB / 17.73 MB, free: 5.32 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.001781/0.001781, allocations: 187 kB / 18.66 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 51.92 kB / 328.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1118, allocations: 46.61 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.288/0.3998, allocations: 24.89 MB / 400.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02374/0.4236, allocations: 7.355 MB / 407.4 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009571/0.4332, allocations: 158 kB / 407.6 MB, free: 8.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02578/0.4592, allocations: 8.794 MB / 416.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01705/0.4763, allocations: 2.972 MB / 419.3 MB, free: 72 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007862/0.4842, allocations: 1.733 MB / 421.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02145/0.5057, allocations: 10.86 MB / 431.9 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04706/0.5528, allocations: 21.87 MB / 453.8 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01551/0.5683, allocations: 5.806 MB / 459.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01473/0.5831, allocations: 6.346 MB / 466 MB, free: 4.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006822/0.59, allocations: 1.68 MB / 467.6 MB, free: 2.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.6007, allocations: 2.042 MB / 469.7 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007758/0.6085, allocations: 3.215 MB / 472.9 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0188/0.6274, allocations: 6.18 MB / 479.1 MB, free: 7.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03546/0.6628, allocations: 22.37 MB / 0.4897 GB, free: 1.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.6629, allocations: 0 / 0.4897 GB, free: 1.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6629, allocations: 0 / 0.4897 GB, free: 1.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008127/0.6637, allocations: 0 / 0.4897 GB, free: 1.074 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04989/0.7137, allocations: 12.9 MB / 0.5023 GB, free: 4.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/0.7137, allocations: 8.031 kB / 0.5023 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04218/0.7559, allocations: 7.191 MB / 0.5093 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/0.772, allocations: 6.164 MB / 0.5153 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008668/0.7729, allocations: 0.7144 MB / 0.516 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005074/0.778, allocations: 0.9413 MB / 0.517 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04738/0.8254, allocations: 16.19 MB / 0.5328 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00032/0.8257, allocations: 19.89 kB / 0.5328 GB, free: 4.699 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003612/0.8293, allocations: 396 kB / 0.5332 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006036/0.8299, allocations: 0.5825 MB / 0.5337 GB, free: 3.727 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03746/0.8674, allocations: 15.47 MB / 0.5488 GB, free: 4.238 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.556/1.423, allocations: 52.22 MB / 0.5998 GB, free: 105.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02376/1.447, allocations: 35.49 MB / 0.6345 GB, free: 70.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005008/1.452, allocations: 3.383 MB / 0.6378 GB, free: 68.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01511/1.467, allocations: 10.05 MB / 0.6476 GB, free: 60.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.056e-05/1.468, allocations: 60.27 kB / 0.6477 GB, free: 60.58 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 8.286e-06/1.468, allocations: 3.938 kB / 0.6477 GB, free: 60.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03167/1.499, allocations: 15.36 MB / 0.6627 GB, free: 45.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/1.499, allocations: 89.78 kB / 0.6628 GB, free: 45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005138/1.505, allocations: 3.852 MB / 0.6665 GB, free: 41.15 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005662/1.505, allocations: 77.7 kB / 0.6666 GB, free: 41.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.507, allocations: 4.256 MB / 0.6708 GB, free: 36.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.508, allocations: 1.064 MB / 0.6718 GB, free: 35.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/1.509, allocations: 1.091 MB / 0.6729 GB, free: 34.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.041e-05/1.509, allocations: 301.1 kB / 0.6731 GB, free: 34.33 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003108/1.513, allocations: 2.556 MB / 0.6756 GB, free: 31.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/1.517, allocations: 4.909 MB / 0.6804 GB, free: 25.74 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007675/1.524, allocations: 7.945 MB / 0.6882 GB, free: 16.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.927e-05/1.524, allocations: 24 kB / 0.6882 GB, free: 16.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01349/1.538, allocations: 8.645 MB / 0.6967 GB, free: 7.945 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/1.538, allocations: 36 kB / 0.6967 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000142/1.538, allocations: 83.98 kB / 0.6968 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/1.541, allocations: 1.238 MB / 0.698 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/1.545, allocations: 1.228 MB / 0.6992 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/1.559, allocations: 9.952 MB / 0.7089 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/1.564, allocations: 327.3 kB / 0.7092 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009718/1.565, allocations: 288 kB / 0.7095 GB, free: 10.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007022/1.572, allocations: 3.736 MB / 0.7131 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.573, allocations: 375.3 kB / 0.7135 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.583, allocations: 5.807 MB / 0.7192 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008093/1.591, allocations: 4.769 MB / 0.7238 GB, free: 11.87 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.006e-05/1.591, allocations: 12 kB / 0.7238 GB, free: 11.86 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-05/1.591, allocations: 19.94 kB / 0.7239 GB, free: 11.84 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02598/1.617, allocations: 13.69 MB / 0.7372 GB, free: 14.08 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.617, allocations: 4 kB / 0.7372 GB, free: 14.07 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.62, allocations: 0.5621 MB / 0.7378 GB, free: 13.51 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/1.623, allocations: 1.109 MB / 0.7389 GB, free: 12.39 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002679/1.623, allocations: 79.91 kB / 0.7389 GB, free: 12.32 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.636, allocations: 8.831 MB / 0.7476 GB, free: 3.348 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.636, allocations: 7.938 kB / 0.7476 GB, free: 3.34 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2683/1.904, allocations: 8.493 MB / 0.7559 GB, free: 172.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/1.907, allocations: 0.8617 MB / 0.7567 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007072/1.908, allocations: 59.55 kB / 0.7568 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.91, allocations: 186.2 kB / 0.7569 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007102/1.91, allocations: 227.6 kB / 0.7572 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/1.911, allocations: 95.47 kB / 0.7572 GB, free: 172.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00567/1.916, allocations: 2.583 MB / 0.7598 GB, free: 171.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.21e-07/1.916, allocations: 0 / 0.7598 GB, free: 171.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008824/1.925, allocations: 1.557 MB / 0.7613 GB, free: 171.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (282): * Single equations (assignments): 280 * 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.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000891/1.926, allocations: 249.6 kB / 0.7615 GB, free: 171.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01248/1.939, allocations: 6.521 MB / 0.7679 GB, free: 168.8 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.939, allocations: 1.031 kB / 0.7679 GB, free: 168.8 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/1.945, allocations: 2.973 MB / 0.7708 GB, free: 167.6 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005093/1.95, allocations: 0.9548 MB / 0.7717 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/1.98, allocations: 16.08 MB / 0.7874 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006503/1.986, allocations: 6.225 MB / 0.7935 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004794/1.991, allocations: 1.889 MB / 0.7954 GB, free: 156 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008869/1.992, allocations: 304.6 kB / 0.7957 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of SimCode: time 1.774e-06/1.992, allocations: 0 / 0.7957 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.09876/2.091, allocations: 60.76 MB / 0.855 GB, free: 96.91 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches