Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_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_trunk_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.001107/0.001107, 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.001294/0.001294, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2871, allocations: 50.56 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02539/0.3126, allocations: 24.78 MB / 434.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.3292, allocations: 7.442 MB / 442.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00614/0.3353, allocations: 183.4 kB / 442.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02038/0.3558, allocations: 8.801 MB / 451.2 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.3678, allocations: 2.91 MB / 454.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00653/0.3743, allocations: 1.729 MB / 455.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01652/0.3908, allocations: 10.81 MB / 466.6 MB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03712/0.428, allocations: 21.84 MB / 488.5 MB, free: 2.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009886/0.4379, allocations: 5.736 MB / 494.2 MB, free: 12.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.4489, allocations: 6.288 MB / 0.4888 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004872/0.4538, allocations: 1.672 MB / 0.4904 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007112/0.4609, allocations: 2.046 MB / 0.4924 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006433/0.4674, allocations: 3.153 MB / 0.4955 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01398/0.4814, allocations: 6.094 MB / 0.5014 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03117/0.5126, allocations: 22.36 MB / 0.5232 GB, free: 3.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.5127, allocations: 0 / 0.5232 GB, free: 3.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5127, allocations: 0 / 0.5232 GB, free: 3.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007615/0.5135, allocations: 0 / 0.5232 GB, free: 3.266 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.04509/0.5586, allocations: 12.74 MB / 0.5357 GB, free: 6.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5586, allocations: 8.031 kB / 0.5357 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03662/0.5953, allocations: 6.216 MB / 0.5418 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3052/0.9005, allocations: 6.907 MB / 0.5485 GB, free: 109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007413/0.9013, allocations: 0.7048 MB / 0.5492 GB, free: 108.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005063/0.9064, allocations: 0.9162 MB / 0.5501 GB, free: 108.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03963/0.946, allocations: 15.75 MB / 0.5655 GB, free: 101.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/0.9463, allocations: 11.28 kB / 0.5655 GB, free: 101.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/0.9474, allocations: 390.1 kB / 0.5659 GB, free: 100.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003936/0.9478, allocations: 0.5583 MB / 0.5664 GB, free: 100.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02385/0.9716, allocations: 14.77 MB / 0.5808 GB, free: 85.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07955/1.051, allocations: 52.04 MB / 0.6317 GB, free: 32.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01911/1.07, allocations: 26.46 MB / 0.6575 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004969/1.075, allocations: 3.199 MB / 0.6606 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/1.076, allocations: 256.2 kB / 0.6609 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.016e-05/1.076, allocations: 81.62 kB / 0.6609 GB, free: 15.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 6.342e-06/1.076, allocations: 0 / 0.6609 GB, free: 15.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.04401/1.12, allocations: 17.3 MB / 0.6778 GB, free: 13.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/1.12, allocations: 90.58 kB / 0.6779 GB, free: 13.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006987/1.127, allocations: 3.692 MB / 0.6815 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008214/1.128, allocations: 89.7 kB / 0.6816 GB, free: 10.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003/1.131, allocations: 3.986 MB / 0.6855 GB, free: 6.059 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.133, allocations: 1.38 MB / 0.6869 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002217/1.135, allocations: 1.136 MB / 0.688 GB, free: 3.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/1.135, allocations: 301.1 kB / 0.6882 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004293/1.14, allocations: 2.791 MB / 0.691 GB, free: 460 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005964/1.146, allocations: 4.957 MB / 0.6958 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/1.157, allocations: 8.31 MB / 0.7039 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.851e-05/1.158, allocations: 24 kB / 0.704 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01888/1.176, allocations: 9.09 MB / 0.7128 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/1.177, allocations: 36 kB / 0.7129 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/1.177, allocations: 68 kB / 0.7129 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003664/1.18, allocations: 1.238 MB / 0.7141 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/1.187, allocations: 1.318 MB / 0.7154 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/1.203, allocations: 9.915 MB / 0.7251 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004646/1.208, allocations: 331.4 kB / 0.7254 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.209, allocations: 288 kB / 0.7257 GB, free: 10.74 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.007598/1.217, allocations: 3.711 MB / 0.7293 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/1.218, allocations: 403 kB / 0.7297 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.232, allocations: 6.693 MB / 0.7362 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01051/1.242, allocations: 5.599 MB / 0.7417 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/1.242, allocations: 12 kB / 0.7417 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.174e-05/1.242, allocations: 19.92 kB / 0.7417 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2962/1.538, allocations: 15.77 MB / 0.7571 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/1.539, allocations: 3.969 kB / 0.7571 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/1.541, allocations: 0.7219 MB / 0.7578 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/1.544, allocations: 1.115 MB / 0.7589 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/1.544, allocations: 89.92 kB / 0.759 GB, free: 185 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/1.555, allocations: 8.833 MB / 0.7676 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.555, allocations: 7.906 kB / 0.7677 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/1.568, allocations: 9.848 MB / 0.7773 GB, free: 176.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.57, allocations: 0.9597 MB / 0.7782 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005194/1.571, allocations: 83.09 kB / 0.7783 GB, free: 175.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.573, allocations: 199.6 kB / 0.7785 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005983/1.573, allocations: 291.2 kB / 0.7788 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.573, allocations: 119.3 kB / 0.7789 GB, free: 175.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003189/1.577, allocations: 2.494 MB / 0.7813 GB, free: 174.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/1.577, allocations: 0 / 0.7813 GB, free: 174.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005263/1.582, allocations: 1.609 MB / 0.7829 GB, free: 174.6 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.0006698/1.583, allocations: 280.8 kB / 0.7831 GB, free: 174.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.593, allocations: 7.135 MB / 0.7901 GB, free: 170.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.593, allocations: 11.75 kB / 0.7901 GB, free: 170.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005023/1.598, allocations: 3.381 MB / 0.7934 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/1.603, allocations: 0.984 MB / 0.7944 GB, free: 167.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/1.628, allocations: 16.12 MB / 0.8101 GB, free: 152.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005081/1.633, allocations: 6.007 MB / 0.816 GB, free: 147.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/1.635, allocations: 387.4 kB / 0.8164 GB, free: 147.1 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/1.635, allocations: 0 / 0.8164 GB, free: 147.1 MB / 0.545 GB Notification: Performance of Templates: time 0.4586/2.093, allocations: 158.5 MB / 0.9712 GB, free: 173.1 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches