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.001582/0.001582, 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.00189/0.00189, allocations: 202 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.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 55.91 kB / 358.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2885, allocations: 50.55 MB / 409.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02515/0.3137, allocations: 24.88 MB / 434.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.3304, allocations: 8.052 MB / 442.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004968/0.3354, allocations: 179.5 kB / 442.4 MB, free: 344 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01841/0.3539, allocations: 8.426 MB / 450.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009999/0.3639, allocations: 3.069 MB / 453.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.3694, allocations: 1.825 MB / 455.7 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01529/0.3847, allocations: 11.21 MB / 466.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03539/0.4202, allocations: 23.33 MB / 490.3 MB, free: 256 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009259/0.4295, allocations: 5.927 MB / 496.2 MB, free: 10.31 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01025/0.4397, allocations: 6.483 MB / 0.4909 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004458/0.4442, allocations: 1.715 MB / 0.4926 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006052/0.4503, allocations: 2.152 MB / 0.4947 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004985/0.4553, allocations: 3.398 MB / 0.498 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01084/0.4662, allocations: 6.354 MB / 0.5042 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02399/0.4902, allocations: 23.14 MB / 0.5268 GB, free: 14.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.4902, allocations: 0 / 0.5268 GB, free: 14.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4902, allocations: 0 / 0.5268 GB, free: 14.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006077/0.4908, allocations: 0 / 0.5268 GB, free: 14.95 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.0403/0.5312, allocations: 13.41 MB / 0.5399 GB, free: 1.438 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5312, allocations: 8.031 kB / 0.5399 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4161/0.9473, allocations: 6.277 MB / 0.546 GB, free: 111.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/0.9603, allocations: 7.255 MB / 0.5531 GB, free: 106.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004389/0.9608, allocations: 0.7171 MB / 0.5538 GB, free: 106.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002881/0.9636, allocations: 0.9466 MB / 0.5547 GB, free: 106.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02955/0.9932, allocations: 16.13 MB / 0.5705 GB, free: 92.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002132/0.9935, allocations: 19.89 kB / 0.5705 GB, free: 92.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/0.9946, allocations: 403.3 kB / 0.5709 GB, free: 92.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003617/0.995, allocations: 0.563 MB / 0.5714 GB, free: 91.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02505/1.02, allocations: 15.1 MB / 0.5862 GB, free: 76.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06946/1.09, allocations: 52.49 MB / 0.6374 GB, free: 23.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/1.104, allocations: 20.09 MB / 0.6571 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00553/1.109, allocations: 3.638 MB / 0.6606 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/1.11, allocations: 267.1 kB / 0.6609 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/1.11, allocations: 82.06 kB / 0.6609 GB, free: 13.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 6.853e-06/1.11, allocations: 0 / 0.6609 GB, free: 13.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.05072/1.161, allocations: 20.62 MB / 0.6811 GB, free: 8.598 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/1.161, allocations: 102.9 kB / 0.6812 GB, free: 8.484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007024/1.168, allocations: 4.505 MB / 0.6856 GB, free: 3.957 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000594/1.168, allocations: 97.7 kB / 0.6857 GB, free: 3.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003117/1.172, allocations: 4.205 MB / 0.6898 GB, free: 15.6 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/1.173, allocations: 1.537 MB / 0.6913 GB, free: 14.04 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002723/1.176, allocations: 1.192 MB / 0.6924 GB, free: 12.84 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.176, allocations: 305.1 kB / 0.6927 GB, free: 12.54 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/1.181, allocations: 3.061 MB / 0.6957 GB, free: 9.469 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006442/1.187, allocations: 5.215 MB / 0.7008 GB, free: 3.281 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.199, allocations: 8.868 MB / 0.7095 GB, free: 9.441 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.449e-05/1.199, allocations: 20 kB / 0.7095 GB, free: 9.422 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01823/1.218, allocations: 9.866 MB / 0.7191 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.103e-05/1.218, allocations: 36 kB / 0.7192 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/1.218, allocations: 68 kB / 0.7192 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/1.222, allocations: 1.407 MB / 0.7206 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005188/1.227, allocations: 1.384 MB / 0.722 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/1.245, allocations: 12.66 MB / 0.7343 GB, free: 15.69 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/1.25, allocations: 359.4 kB / 0.7347 GB, free: 15.34 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.251, allocations: 292 kB / 0.7349 GB, free: 15.05 MB / 0.5451 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.007194/1.259, allocations: 3.896 MB / 0.7387 GB, free: 11.14 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001441/1.26, allocations: 462.3 kB / 0.7392 GB, free: 10.69 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/1.275, allocations: 8.51 MB / 0.7475 GB, free: 2.121 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.218/1.493, allocations: 6.245 MB / 0.7536 GB, free: 185.7 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/1.493, allocations: 15.41 kB / 0.7536 GB, free: 185.7 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.878e-05/1.493, allocations: 22.31 kB / 0.7536 GB, free: 185.7 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02465/1.518, allocations: 17.4 MB / 0.7706 GB, free: 178.6 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/1.518, allocations: 7.625 kB / 0.7706 GB, free: 178.6 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/1.521, allocations: 0.802 MB / 0.7714 GB, free: 178.6 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.524, allocations: 1.284 MB / 0.7727 GB, free: 178.3 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003386/1.525, allocations: 105.1 kB / 0.7728 GB, free: 178.2 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.537, allocations: 11.56 MB / 0.7841 GB, free: 171.4 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.537, allocations: 11.78 kB / 0.7841 GB, free: 171.3 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.553, allocations: 11.2 MB / 0.795 GB, free: 164 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/1.555, allocations: 1.088 MB / 0.7961 GB, free: 163.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/1.557, allocations: 88 kB / 0.7962 GB, free: 163.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/1.559, allocations: 237.8 kB / 0.7964 GB, free: 162.9 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007674/1.56, allocations: 329 kB / 0.7967 GB, free: 162.5 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003818/1.561, allocations: 140 kB / 0.7968 GB, free: 162.4 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.004484/1.565, allocations: 3.117 MB / 0.7999 GB, free: 159.3 MB / 0.5451 GB Notification: Performance of sort global known variables: time 3.4e-07/1.565, allocations: 0 / 0.7999 GB, free: 159.3 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.00574/1.571, allocations: 1.72 MB / 0.8015 GB, free: 157.6 MB / 0.5451 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.001439/1.572, allocations: 0.5426 MB / 0.8021 GB, free: 157.2 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.584, allocations: 7.974 MB / 0.8099 GB, free: 149.3 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.584, allocations: 2.953 kB / 0.8099 GB, free: 149.3 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.006128/1.59, allocations: 3.945 MB / 0.8137 GB, free: 145.3 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00546/1.596, allocations: 1.061 MB / 0.8148 GB, free: 144.3 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02704/1.623, allocations: 18.05 MB / 0.8324 GB, free: 126.1 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00643/1.629, allocations: 6.507 MB / 0.8387 GB, free: 119.6 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.005243/1.634, allocations: 2.115 MB / 0.8408 GB, free: 117.5 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.636, allocations: 379.4 kB / 0.8412 GB, free: 117.1 MB / 0.5451 GB Notification: Performance of SimCode: time 1.182e-06/1.636, allocations: 0 / 0.8412 GB, free: 117.1 MB / 0.5451 GB Notification: Performance of Templates: time 0.1347/1.77, allocations: 72.11 MB / 0.9116 GB, free: 45.51 MB / 0.5451 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