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.001733/0.001733, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002376/0.002376, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3402, allocations: 50.55 MB / 410 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02666/0.3669, allocations: 24.88 MB / 434.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.385, allocations: 8.044 MB / 442.9 MB, free: 496 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006506/0.3915, allocations: 183.4 kB / 443.1 MB, free: 312 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01987/0.4115, allocations: 8.372 MB / 451.5 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.4226, allocations: 3.019 MB / 454.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00598/0.4286, allocations: 1.827 MB / 456.3 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0156/0.4442, allocations: 11.22 MB / 467.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0353/0.4795, allocations: 23.32 MB / 490.8 MB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008581/0.4882, allocations: 5.934 MB / 496.8 MB, free: 10.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01078/0.499, allocations: 6.479 MB / 0.4915 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00458/0.5036, allocations: 1.715 MB / 0.4931 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006647/0.5102, allocations: 2.148 MB / 0.4952 GB, free: 12 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00554/0.5158, allocations: 3.398 MB / 0.4986 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01162/0.5275, allocations: 6.358 MB / 0.5048 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0302/0.5577, allocations: 23.14 MB / 0.5274 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.5577, allocations: 0 / 0.5274 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5577, allocations: 0 / 0.5274 GB, free: 15.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006574/0.5584, allocations: 0 / 0.5274 GB, free: 15.02 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.04433/0.6028, allocations: 13.41 MB / 0.5405 GB, free: 1.508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6028, allocations: 8.031 kB / 0.5405 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4634/1.066, allocations: 6.279 MB / 0.5466 GB, free: 110.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01529/1.082, allocations: 7.251 MB / 0.5537 GB, free: 106.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006877/1.082, allocations: 0.7213 MB / 0.5544 GB, free: 106.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004604/1.087, allocations: 0.941 MB / 0.5553 GB, free: 106 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04372/1.131, allocations: 16.14 MB / 0.5711 GB, free: 92.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004619/1.131, allocations: 11.91 kB / 0.5711 GB, free: 92.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003853/1.135, allocations: 403.6 kB / 0.5715 GB, free: 92.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000587/1.136, allocations: 0.5591 MB / 0.572 GB, free: 91.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03133/1.167, allocations: 15.11 MB / 0.5868 GB, free: 76.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08684/1.254, allocations: 52.48 MB / 0.638 GB, free: 23.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/1.271, allocations: 20.09 MB / 0.6576 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006573/1.278, allocations: 3.64 MB / 0.6612 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006858/1.278, allocations: 264 kB / 0.6614 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/1.278, allocations: 82 kB / 0.6615 GB, free: 13.38 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 1.04e-05/1.278, allocations: 4 kB / 0.6615 GB, free: 13.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.06086/1.339, allocations: 20.64 MB / 0.6817 GB, free: 8.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/1.339, allocations: 98.95 kB / 0.6818 GB, free: 8.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009087/1.349, allocations: 4.509 MB / 0.6862 GB, free: 3.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009389/1.35, allocations: 101.7 kB / 0.6863 GB, free: 3.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003515/1.353, allocations: 4.193 MB / 0.6903 GB, free: 15.63 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00229/1.355, allocations: 1.533 MB / 0.6918 GB, free: 14.07 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002567/1.358, allocations: 1.196 MB / 0.693 GB, free: 12.87 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.358, allocations: 305.1 kB / 0.6933 GB, free: 12.57 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004868/1.363, allocations: 3.065 MB / 0.6963 GB, free: 9.496 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006583/1.37, allocations: 5.215 MB / 0.7014 GB, free: 3.309 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.383, allocations: 8.868 MB / 0.7101 GB, free: 9.469 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-05/1.383, allocations: 20 kB / 0.7101 GB, free: 9.449 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01873/1.402, allocations: 9.862 MB / 0.7197 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/1.402, allocations: 35.98 kB / 0.7197 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/1.402, allocations: 72 kB / 0.7198 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003885/1.406, allocations: 1.403 MB / 0.7212 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/1.411, allocations: 1.384 MB / 0.7225 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/1.43, allocations: 12.66 MB / 0.7349 GB, free: 15.72 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005152/1.435, allocations: 359.4 kB / 0.7352 GB, free: 15.37 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/1.436, allocations: 296 kB / 0.7355 GB, free: 15.08 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.008121/1.444, allocations: 3.892 MB / 0.7393 GB, free: 11.17 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.446, allocations: 462.4 kB / 0.7398 GB, free: 10.71 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/1.46, allocations: 8.499 MB / 0.7481 GB, free: 2.16 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2681/1.729, allocations: 6.247 MB / 0.7542 GB, free: 185.5 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.678e-05/1.729, allocations: 15.59 kB / 0.7542 GB, free: 185.5 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.797e-05/1.729, allocations: 23.66 kB / 0.7542 GB, free: 185.5 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.757, allocations: 17.41 MB / 0.7712 GB, free: 178.5 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.757, allocations: 7.375 kB / 0.7712 GB, free: 178.5 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003164/1.76, allocations: 0.8081 MB / 0.772 GB, free: 178.4 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003304/1.763, allocations: 1.282 MB / 0.7732 GB, free: 178.1 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004738/1.764, allocations: 104.5 kB / 0.7733 GB, free: 178.1 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/1.778, allocations: 11.55 MB / 0.7846 GB, free: 171.2 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.778, allocations: 12.94 kB / 0.7846 GB, free: 171.2 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.794, allocations: 11.2 MB / 0.7956 GB, free: 164.1 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002476/1.796, allocations: 1.087 MB / 0.7966 GB, free: 163.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007794/1.797, allocations: 88 kB / 0.7967 GB, free: 163.1 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/1.799, allocations: 239.6 kB / 0.7969 GB, free: 162.9 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007025/1.8, allocations: 322 kB / 0.7973 GB, free: 162.6 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002518/1.8, allocations: 146.4 kB / 0.7974 GB, free: 162.4 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.004016/1.804, allocations: 3.115 MB / 0.8004 GB, free: 159.3 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.1e-07/1.804, allocations: 1.531 kB / 0.8004 GB, free: 159.3 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.006048/1.811, allocations: 1.717 MB / 0.8021 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.001465/1.812, allocations: 0.5455 MB / 0.8026 GB, free: 157.2 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.824, allocations: 7.974 MB / 0.8104 GB, free: 149.3 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/1.824, allocations: 4 kB / 0.8104 GB, free: 149.3 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.006257/1.83, allocations: 3.941 MB / 0.8143 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.005388/1.836, allocations: 1.058 MB / 0.8153 GB, free: 144.3 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/1.866, allocations: 17.79 MB / 0.8327 GB, free: 126.4 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00534/1.871, allocations: 6.327 MB / 0.8389 GB, free: 120.1 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/1.873, allocations: 427.3 kB / 0.8393 GB, free: 119.7 MB / 0.5451 GB Notification: Performance of SimCode: time 1.042e-06/1.873, allocations: 0 / 0.8393 GB, free: 119.7 MB / 0.5451 GB Notification: Performance of Templates: time 0.5243/2.397, allocations: 228.1 MB / 1.062 GB, free: 89.18 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/jenkins1/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/jenkins1/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