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.001146/0.001146, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 204.6 kB / 18.73 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2608, allocations: 50.54 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02521/0.2861, allocations: 24.79 MB / 434.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.3005, allocations: 7.442 MB / 441.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/0.3049, allocations: 187.4 kB / 441.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01959/0.3245, allocations: 8.796 MB / 450.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.3359, allocations: 2.91 MB / 453.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006058/0.342, allocations: 1.727 MB / 455.1 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01404/0.3561, allocations: 10.81 MB / 465.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03148/0.3876, allocations: 21.84 MB / 487.8 MB, free: 2.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008014/0.3956, allocations: 5.72 MB / 493.5 MB, free: 13.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/0.4057, allocations: 6.284 MB / 499.8 MB, free: 6.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004565/0.4103, allocations: 1.672 MB / 0.4897 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006118/0.4164, allocations: 2.047 MB / 0.4917 GB, free: 3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004884/0.4213, allocations: 3.157 MB / 0.4948 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009727/0.4311, allocations: 6.094 MB / 0.5007 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02303/0.4541, allocations: 22.39 MB / 0.5226 GB, free: 3.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4542, allocations: 4 kB / 0.5226 GB, free: 3.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4542, allocations: 0 / 0.5226 GB, free: 3.254 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005478/0.4547, allocations: 0 / 0.5226 GB, free: 3.254 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.03687/0.4916, allocations: 12.96 MB / 0.5352 GB, free: 6.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4917, allocations: 12.03 kB / 0.5353 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4549/0.9465, allocations: 6.259 MB / 0.5414 GB, free: 109.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/0.9607, allocations: 6.928 MB / 0.5481 GB, free: 106.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004274/0.9611, allocations: 0.6976 MB / 0.5488 GB, free: 106.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003101/0.9642, allocations: 0.9208 MB / 0.5497 GB, free: 106.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02851/0.9928, allocations: 15.75 MB / 0.5651 GB, free: 99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002101/0.993, allocations: 22.44 kB / 0.5651 GB, free: 98.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/0.9944, allocations: 386.7 kB / 0.5655 GB, free: 98.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004327/0.9949, allocations: 0.5507 MB / 0.566 GB, free: 98.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02466/1.02, allocations: 14.77 MB / 0.5805 GB, free: 83.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07138/1.091, allocations: 52.17 MB / 0.6314 GB, free: 30.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01815/1.109, allocations: 26.48 MB / 0.6573 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005191/1.114, allocations: 3.203 MB / 0.6604 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/1.115, allocations: 248.3 kB / 0.6606 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.435e-05/1.115, allocations: 73.69 kB / 0.6607 GB, free: 13.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=398): time 6.583e-06/1.115, allocations: 0 / 0.6607 GB, free: 13.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=404): time 0.03825/1.153, allocations: 17.41 MB / 0.6777 GB, free: 12.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/1.153, allocations: 94.58 kB / 0.6778 GB, free: 11.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005002/1.158, allocations: 3.693 MB / 0.6814 GB, free: 8.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005854/1.159, allocations: 93.7 kB / 0.6815 GB, free: 8.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002624/1.162, allocations: 4.128 MB / 0.6855 GB, free: 3.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.163, allocations: 1.439 MB / 0.6869 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/1.165, allocations: 1.148 MB / 0.688 GB, free: 1.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/1.165, allocations: 305.1 kB / 0.6883 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/1.169, allocations: 2.793 MB / 0.6911 GB, free: 14.3 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005581/1.175, allocations: 4.961 MB / 0.6959 GB, free: 8.34 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.185, allocations: 8.306 MB / 0.704 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.135e-05/1.185, allocations: 24 kB / 0.704 GB, free: 15.01 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01552/1.201, allocations: 9.113 MB / 0.7129 GB, free: 5.879 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/1.201, allocations: 36 kB / 0.713 GB, free: 5.844 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/1.201, allocations: 72.53 kB / 0.713 GB, free: 5.773 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/1.204, allocations: 1.23 MB / 0.7142 GB, free: 4.539 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/1.209, allocations: 1.318 MB / 0.7155 GB, free: 3.219 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.223, allocations: 9.926 MB / 0.7252 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/1.227, allocations: 339.5 kB / 0.7256 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004881/1.227, allocations: 284 kB / 0.7258 GB, free: 8.555 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.005135/1.232, allocations: 3.712 MB / 0.7294 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008439/1.233, allocations: 425.2 kB / 0.7299 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.244, allocations: 6.693 MB / 0.7364 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008804/1.253, allocations: 5.595 MB / 0.7419 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/1.253, allocations: 8 kB / 0.7419 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/1.253, allocations: 23.86 kB / 0.7419 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2427/1.496, allocations: 15.77 MB / 0.7573 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-05/1.496, allocations: 4.719 kB / 0.7573 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004495/1.501, allocations: 0.7225 MB / 0.758 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004492/1.505, allocations: 1.116 MB / 0.7591 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007858/1.506, allocations: 93.06 kB / 0.7592 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/1.524, allocations: 8.85 MB / 0.7678 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.118e-06/1.524, allocations: 3.969 kB / 0.7678 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02214/1.546, allocations: 9.87 MB / 0.7775 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003454/1.549, allocations: 0.9775 MB / 0.7784 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001622/1.551, allocations: 79.31 kB / 0.7785 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003916/1.555, allocations: 207.6 kB / 0.7787 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/1.556, allocations: 283.8 kB / 0.779 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006066/1.557, allocations: 121.3 kB / 0.7791 GB, free: 172.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006353/1.563, allocations: 2.492 MB / 0.7815 GB, free: 171.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.81e-07/1.563, allocations: 3.25 kB / 0.7815 GB, free: 171.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009252/1.572, allocations: 1.609 MB / 0.7831 GB, free: 171.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.001229/1.574, allocations: 272.7 kB / 0.7833 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01727/1.591, allocations: 7.142 MB / 0.7903 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.591, allocations: 0 / 0.7903 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008267/1.599, allocations: 3.41 MB / 0.7936 GB, free: 164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008171/1.608, allocations: 0.9821 MB / 0.7946 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04214/1.65, allocations: 16.66 MB / 0.8109 GB, free: 148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/1.661, allocations: 6.192 MB / 0.8169 GB, free: 142.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00784/1.669, allocations: 1.912 MB / 0.8188 GB, free: 140.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/1.671, allocations: 349.5 kB / 0.8191 GB, free: 140.1 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/1.671, allocations: 0 / 0.8191 GB, free: 140.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1271/1.798, allocations: 66.19 MB / 0.8838 GB, free: 74.36 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