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.001065/0.001065, allocations: 121.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 63.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2467, allocations: 50.55 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0236/0.2703, allocations: 24.78 MB / 434.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.2835, allocations: 7.45 MB / 441.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.2871, allocations: 187.4 kB / 441.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01777/0.3049, allocations: 8.799 MB / 450.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009204/0.3141, allocations: 2.902 MB / 453.4 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00507/0.3192, allocations: 1.732 MB / 455.1 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0147/0.3339, allocations: 10.81 MB / 465.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0328/0.3668, allocations: 21.84 MB / 487.8 MB, free: 2.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007955/0.3748, allocations: 5.74 MB / 493.5 MB, free: 13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009711/0.3845, allocations: 6.281 MB / 499.8 MB, free: 6.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004353/0.3889, allocations: 1.668 MB / 0.4897 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006466/0.3954, allocations: 2.05 MB / 0.4917 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004898/0.4003, allocations: 3.157 MB / 0.4948 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01097/0.4113, allocations: 6.094 MB / 0.5008 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02622/0.4375, allocations: 22.36 MB / 0.5226 GB, free: 3.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4376, allocations: 0 / 0.5226 GB, free: 3.277 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4376, allocations: 0 / 0.5226 GB, free: 3.277 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005427/0.4381, allocations: 0 / 0.5226 GB, free: 3.277 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.03693/0.4751, allocations: 12.74 MB / 0.535 GB, free: 6.434 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4751, allocations: 8.031 kB / 0.535 GB, free: 6.426 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03369/0.5088, allocations: 6.212 MB / 0.5411 GB, free: 200 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4247/0.9336, allocations: 6.909 MB / 0.5478 GB, free: 106.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004671/0.9341, allocations: 0.7046 MB / 0.5485 GB, free: 106.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002982/0.9371, allocations: 0.9171 MB / 0.5494 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0258/0.9629, allocations: 15.74 MB / 0.5648 GB, free: 98.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001977/0.9631, allocations: 17.83 kB / 0.5648 GB, free: 98.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/0.9641, allocations: 391.7 kB / 0.5652 GB, free: 98.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003617/0.9645, allocations: 0.5569 MB / 0.5657 GB, free: 98.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/0.9895, allocations: 14.77 MB / 0.5802 GB, free: 83.46 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0711/1.061, allocations: 52.03 MB / 0.631 GB, free: 30.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/1.078, allocations: 26.48 MB / 0.6568 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006237/1.085, allocations: 3.203 MB / 0.66 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/1.085, allocations: 248.5 kB / 0.6602 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.801e-05/1.086, allocations: 81.62 kB / 0.6603 GB, free: 13.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 6.282e-06/1.086, allocations: 0 / 0.6603 GB, free: 13.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.04234/1.128, allocations: 17.29 MB / 0.6772 GB, free: 11.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/1.128, allocations: 94.58 kB / 0.6773 GB, free: 11.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006873/1.135, allocations: 3.7 MB / 0.6809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006338/1.136, allocations: 85.7 kB / 0.6809 GB, free: 7.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003679/1.139, allocations: 3.983 MB / 0.6848 GB, free: 3.926 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001791/1.141, allocations: 1.383 MB / 0.6862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003048/1.144, allocations: 1.136 MB / 0.6873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/1.144, allocations: 305.1 kB / 0.6876 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004926/1.149, allocations: 2.795 MB / 0.6903 GB, free: 14.3 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006943/1.156, allocations: 4.957 MB / 0.6952 GB, free: 8.352 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/1.168, allocations: 8.308 MB / 0.7033 GB, free: 15.05 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.405e-05/1.168, allocations: 23.94 kB / 0.7033 GB, free: 15.02 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01859/1.186, allocations: 9.096 MB / 0.7122 GB, free: 5.902 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.749e-05/1.187, allocations: 32 kB / 0.7122 GB, free: 5.871 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/1.187, allocations: 72 kB / 0.7123 GB, free: 5.801 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003687/1.19, allocations: 1.226 MB / 0.7135 GB, free: 4.57 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005371/1.196, allocations: 1.326 MB / 0.7148 GB, free: 3.242 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/1.212, allocations: 9.908 MB / 0.7244 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004766/1.217, allocations: 339.3 kB / 0.7248 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.218, allocations: 284 kB / 0.725 GB, free: 8.598 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.008662/1.227, allocations: 3.705 MB / 0.7287 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/1.228, allocations: 403 kB / 0.729 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/1.243, allocations: 6.689 MB / 0.7356 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01043/1.253, allocations: 5.599 MB / 0.741 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.413e-05/1.253, allocations: 8 kB / 0.741 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/1.254, allocations: 19.92 kB / 0.7411 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2686/1.522, allocations: 15.77 MB / 0.7565 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.522, allocations: 3.969 kB / 0.7565 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/1.525, allocations: 0.7232 MB / 0.7572 GB, free: 182.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/1.528, allocations: 1.112 MB / 0.7583 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/1.528, allocations: 96.52 kB / 0.7584 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/1.538, allocations: 8.836 MB / 0.767 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.538, allocations: 14.53 kB / 0.767 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.551, allocations: 9.848 MB / 0.7766 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/1.554, allocations: 0.9504 MB / 0.7775 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/1.555, allocations: 80.19 kB / 0.7776 GB, free: 173.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/1.557, allocations: 197.3 kB / 0.7778 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006488/1.558, allocations: 288.4 kB / 0.7781 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/1.558, allocations: 126.7 kB / 0.7782 GB, free: 173.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003959/1.562, allocations: 2.492 MB / 0.7806 GB, free: 172.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.562, allocations: 0 / 0.7806 GB, free: 172.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004817/1.567, allocations: 1.612 MB / 0.7822 GB, free: 172 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.0005087/1.567, allocations: 272.4 kB / 0.7825 GB, free: 171.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009423/1.577, allocations: 7.138 MB / 0.7894 GB, free: 167.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.577, allocations: 4 kB / 0.7894 GB, free: 167.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004699/1.582, allocations: 3.392 MB / 0.7928 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.586, allocations: 0.9764 MB / 0.7937 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/1.613, allocations: 16.43 MB / 0.8098 GB, free: 148.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005889/1.619, allocations: 6.192 MB / 0.8158 GB, free: 142.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00419/1.623, allocations: 1.911 MB / 0.8177 GB, free: 140.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009337/1.624, allocations: 343.4 kB / 0.818 GB, free: 140.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.624, allocations: 0 / 0.818 GB, free: 140.6 MB / 0.545 GB Notification: Performance of Templates: time 0.09416/1.718, allocations: 66.2 MB / 0.8826 GB, free: 74.84 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/jenkins/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/jenkins/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