Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|PIQS.x|imcQS.rotorCage.port_p.reference.gamma|loadInertiaQS.w|powerSensorQS.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.001317, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 59.91 kB / 358.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2516, allocations: 50.54 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02525/0.2769, allocations: 24.88 MB / 434.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.2961, allocations: 8.058 MB / 442.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004937/0.3011, allocations: 179.5 kB / 442.4 MB, free: 348 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01819/0.3193, allocations: 8.371 MB / 450.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.3295, allocations: 3.015 MB / 453.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006021/0.3356, allocations: 1.826 MB / 455.6 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01456/0.3501, allocations: 11.2 MB / 466.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03406/0.3842, allocations: 23.33 MB / 490.2 MB, free: 372 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009286/0.3936, allocations: 5.927 MB / 496.1 MB, free: 10.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.4046, allocations: 6.479 MB / 0.4908 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004789/0.4094, allocations: 1.715 MB / 0.4925 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006629/0.4161, allocations: 2.156 MB / 0.4946 GB, free: 52 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005802/0.4219, allocations: 3.402 MB / 0.4979 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01289/0.4348, allocations: 6.354 MB / 0.5041 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02967/0.4645, allocations: 23.13 MB / 0.5267 GB, free: 15.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.4646, allocations: 0 / 0.5267 GB, free: 15.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4646, allocations: 0 / 0.5267 GB, free: 15.06 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006701/0.4653, allocations: 0 / 0.5267 GB, free: 15.06 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.04375/0.509, allocations: 13.41 MB / 0.5398 GB, free: 1.547 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.5091, allocations: 12.02 kB / 0.5398 GB, free: 1.535 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2759/0.785, allocations: 6.28 MB / 0.5459 GB, free: 113.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/0.8009, allocations: 7.252 MB / 0.553 GB, free: 109.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005218/0.8015, allocations: 0.7193 MB / 0.5537 GB, free: 108.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003292/0.8048, allocations: 0.9421 MB / 0.5546 GB, free: 108.5 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/0.8328, allocations: 16.14 MB / 0.5704 GB, free: 95.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.833, allocations: 19.89 kB / 0.5704 GB, free: 95.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009966/0.834, allocations: 403 kB / 0.5708 GB, free: 94.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003554/0.8344, allocations: 0.5552 MB / 0.5713 GB, free: 94.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.8561, allocations: 15.11 MB / 0.5861 GB, free: 79.12 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07031/0.9265, allocations: 52.48 MB / 0.6373 GB, free: 25.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01479/0.9413, allocations: 20.08 MB / 0.657 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004805/0.9461, allocations: 3.638 MB / 0.6605 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.9466, allocations: 267.8 kB / 0.6608 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.227e-05/0.9467, allocations: 78.06 kB / 0.6608 GB, free: 15.69 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 7.985e-06/0.9467, allocations: 4 kB / 0.6608 GB, free: 15.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04835/0.9951, allocations: 20.63 MB / 0.681 GB, free: 10.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.9952, allocations: 98.95 kB / 0.6811 GB, free: 10.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006294/1.001, allocations: 4.505 MB / 0.6855 GB, free: 6.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004382/1.002, allocations: 101.7 kB / 0.6856 GB, free: 6.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002638/1.005, allocations: 4.201 MB / 0.6897 GB, free: 1.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.006, allocations: 1.533 MB / 0.6912 GB, free: 436 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/1.008, allocations: 1.199 MB / 0.6923 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.467e-05/1.008, allocations: 305.1 kB / 0.6926 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/1.012, allocations: 3.061 MB / 0.6956 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005907/1.018, allocations: 5.211 MB / 0.7007 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/1.03, allocations: 8.864 MB / 0.7094 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.757e-05/1.03, allocations: 20 kB / 0.7094 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01635/1.046, allocations: 9.862 MB / 0.719 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/1.046, allocations: 32 kB / 0.7191 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/1.046, allocations: 75.94 kB / 0.7191 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003748/1.05, allocations: 1.411 MB / 0.7205 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005216/1.055, allocations: 1.377 MB / 0.7218 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/1.073, allocations: 12.68 MB / 0.7342 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/1.078, allocations: 355.4 kB / 0.7346 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007987/1.078, allocations: 292 kB / 0.7348 GB, free: 1.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00753/1.086, allocations: 3.9 MB / 0.7387 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.087, allocations: 454.4 kB / 0.7391 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.101, allocations: 8.506 MB / 0.7474 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.218/1.319, allocations: 6.244 MB / 0.7535 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.384e-05/1.319, allocations: 17 kB / 0.7535 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.851e-05/1.319, allocations: 22.5 kB / 0.7535 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/1.344, allocations: 17.41 MB / 0.7705 GB, free: 181 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/1.344, allocations: 7.375 kB / 0.7705 GB, free: 181 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/1.347, allocations: 0.8029 MB / 0.7713 GB, free: 180.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003151/1.35, allocations: 1.285 MB / 0.7726 GB, free: 180.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000264/1.351, allocations: 109.1 kB / 0.7727 GB, free: 180.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/1.364, allocations: 11.55 MB / 0.784 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.537e-06/1.364, allocations: 12.56 kB / 0.784 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/1.378, allocations: 11.19 MB / 0.7949 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/1.38, allocations: 1.086 MB / 0.796 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005539/1.381, allocations: 95.73 kB / 0.7961 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.383, allocations: 235.1 kB / 0.7963 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006427/1.383, allocations: 325.5 kB / 0.7966 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/1.384, allocations: 139.6 kB / 0.7967 GB, free: 166.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003822/1.388, allocations: 3.118 MB / 0.7998 GB, free: 163.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.388, allocations: 3.938 kB / 0.7998 GB, free: 163.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00506/1.393, allocations: 1.724 MB / 0.8015 GB, free: 162.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * 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 (417): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001263/1.394, allocations: 0.5375 MB / 0.802 GB, free: 161.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.404, allocations: 7.979 MB / 0.8098 GB, free: 153.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.404, allocations: 0 / 0.8098 GB, free: 153.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/1.41, allocations: 3.936 MB / 0.8136 GB, free: 149.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/1.414, allocations: 1.061 MB / 0.8146 GB, free: 148.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.436, allocations: 18.06 MB / 0.8323 GB, free: 130.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004873/1.441, allocations: 6.511 MB / 0.8386 GB, free: 124.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004574/1.446, allocations: 2.115 MB / 0.8407 GB, free: 122.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.447, allocations: 379.4 kB / 0.8411 GB, free: 121.7 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/1.447, allocations: 0 / 0.8411 GB, free: 121.7 MB / 0.545 GB Notification: Performance of Templates: time 0.09657/1.544, allocations: 72.1 MB / 0.9115 GB, free: 50.09 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_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_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches