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.0009379/0.0009378, allocations: 95.25 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 206.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 8 kB / 308.4 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1086, allocations: 51.52 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.2186/0.3272, allocations: 25.37 MB / 385.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01614/0.3433, allocations: 8.022 MB / 393.3 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005906/0.3493, allocations: 183.4 kB / 393.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006417/0.3557, allocations: 1.957 MB / 395.5 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.3673, allocations: 3.037 MB / 398.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005895/0.3732, allocations: 1.612 MB / 400.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01874/0.392, allocations: 12.33 MB / 412.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04304/0.435, allocations: 24.06 MB / 436.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008337/0.4434, allocations: 4.593 MB / 441.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009618/0.4531, allocations: 5.528 MB / 446.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003508/0.4566, allocations: 0.7188 MB / 447.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006979/0.4636, allocations: 1.117 MB / 448.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005265/0.4689, allocations: 2.269 MB / 450.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01271/0.4816, allocations: 5.472 MB / 456.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02525/0.5069, allocations: 20.97 MB / 477.2 MB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.507, allocations: 3.938 kB / 477.2 MB, free: 6.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.507, allocations: 0 / 477.2 MB, free: 6.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007901/0.5078, allocations: 0 / 477.2 MB, free: 6.215 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.03849/0.5463, allocations: 12.16 MB / 489.4 MB, free: 9.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5463, allocations: 11.97 kB / 489.4 MB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04812/0.5945, allocations: 8.485 MB / 497.8 MB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01934/0.6139, allocations: 7.472 MB / 0.4935 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001154/0.615, allocations: 0.8107 MB / 0.4943 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004908/0.62, allocations: 1.062 MB / 0.4953 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05208/0.6721, allocations: 18.31 MB / 0.5132 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000644/0.6728, allocations: 23.75 kB / 0.5132 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00449/0.6773, allocations: 448 kB / 0.5136 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000932/0.6782, allocations: 0.6672 MB / 0.5143 GB, free: 4.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0414/0.7196, allocations: 17.55 MB / 0.5314 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4981/1.218, allocations: 60.01 MB / 0.59 GB, free: 85.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02738/1.245, allocations: 37.46 MB / 0.6266 GB, free: 49.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006364/1.252, allocations: 4.163 MB / 0.6307 GB, free: 45.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/1.252, allocations: 273.5 kB / 0.6309 GB, free: 45.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.87e-05/1.252, allocations: 90.64 kB / 0.631 GB, free: 45.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=524): time 1.155e-05/1.252, allocations: 0 / 0.631 GB, free: 45.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=530): time 0.04765/1.3, allocations: 21.94 MB / 0.6524 GB, free: 23.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.3, allocations: 103.5 kB / 0.6525 GB, free: 23.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006633/1.307, allocations: 4.183 MB / 0.6566 GB, free: 18.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004804/1.307, allocations: 105.7 kB / 0.6567 GB, free: 18.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.309, allocations: 4.512 MB / 0.6611 GB, free: 14.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00133/1.311, allocations: 1.795 MB / 0.6629 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009999/1.312, allocations: 0.5525 MB / 0.6634 GB, free: 11.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/1.312, allocations: 301.1 kB / 0.6637 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005037/1.317, allocations: 3.481 MB / 0.6671 GB, free: 8.098 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006376/1.323, allocations: 5.94 MB / 0.6729 GB, free: 1.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01492/1.338, allocations: 10.11 MB / 0.6828 GB, free: 5.785 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.589e-05/1.338, allocations: 20 kB / 0.6828 GB, free: 5.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.02122/1.359, allocations: 11.01 MB / 0.6936 GB, free: 10.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.36, allocations: 40 kB / 0.6936 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/1.36, allocations: 79.98 kB / 0.6937 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004359/1.364, allocations: 1.395 MB / 0.695 GB, free: 9.148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/1.37, allocations: 1.618 MB / 0.6966 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/1.389, allocations: 10.59 MB / 0.707 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005599/1.394, allocations: 407.3 kB / 0.7073 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.396, allocations: 340 kB / 0.7077 GB, free: 12.07 MB / 494.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 (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,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00855/1.404, allocations: 4.165 MB / 0.7117 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.406, allocations: 486 kB / 0.7122 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.228/1.634, allocations: 8.544 MB / 0.7205 GB, free: 159.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0159/1.65, allocations: 7.159 MB / 0.7275 GB, free: 158.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.588e-05/1.65, allocations: 16.53 kB / 0.7276 GB, free: 158.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001302/1.65, allocations: 26.53 kB / 0.7276 GB, free: 158.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04061/1.691, allocations: 19.41 MB / 0.7465 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/1.691, allocations: 2.656 kB / 0.7465 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004074/1.695, allocations: 0.9385 MB / 0.7475 GB, free: 150.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/1.698, allocations: 1.253 MB / 0.7487 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007248/1.699, allocations: 118.9 kB / 0.7488 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/1.712, allocations: 9.328 MB / 0.7579 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.712, allocations: 4.922 kB / 0.7579 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01981/1.732, allocations: 12.39 MB / 0.77 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003373/1.735, allocations: 1.174 MB / 0.7712 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001382/1.737, allocations: 96 kB / 0.7712 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/1.74, allocations: 285.8 kB / 0.7715 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009007/1.741, allocations: 347.9 kB / 0.7718 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004799/1.742, allocations: 151.4 kB / 0.772 GB, free: 136.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005586/1.747, allocations: 2.815 MB / 0.7747 GB, free: 134.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.747, allocations: 2.656 kB / 0.7747 GB, free: 134.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007666/1.755, allocations: 1.938 MB / 0.7766 GB, free: 132.2 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 (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,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/1.756, allocations: 309.4 kB / 0.7769 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01389/1.77, allocations: 8.821 MB / 0.7855 GB, free: 123.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.77, allocations: 1.859 kB / 0.7855 GB, free: 123.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00664/1.777, allocations: 4.229 MB / 0.7897 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007953/1.785, allocations: 1.073 MB / 0.7907 GB, free: 118.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/1.82, allocations: 23.82 MB / 0.814 GB, free: 94.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00915/1.829, allocations: 6.799 MB / 0.8206 GB, free: 87.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002476/1.831, allocations: 463.3 kB / 0.8211 GB, free: 86.87 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/1.831, allocations: 0 / 0.8211 GB, free: 86.87 MB / 494.1 MB Notification: Performance of Templates: time 0.405/2.236, allocations: 180.3 MB / 0.9971 GB, free: 78.26 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/jenkins1/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/jenkins1/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