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.0009159/0.0009159, allocations: 98.14 kB / 17.01 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009973/0.0009971, allocations: 197.7 kB / 17.91 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001996/0.0001996, allocations: 12 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09308, allocations: 51.52 MB / 358.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1891/0.2822, allocations: 21.67 MB / 380.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.2949, allocations: 7.401 MB / 387.7 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004039/0.2989, allocations: 165.2 kB / 387.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004512/0.3035, allocations: 1.338 MB / 389.2 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007555/0.311, allocations: 2.489 MB / 391.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003448/0.3145, allocations: 1.251 MB / 393 MB, free: 2.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01635/0.3309, allocations: 13.63 MB / 406.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03347/0.3644, allocations: 19.33 MB / 425.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006996/0.3714, allocations: 4.358 MB / 430.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006997/0.3784, allocations: 4.799 MB / 435.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001901/0.3804, allocations: 0.6602 MB / 435.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.3843, allocations: 1.078 MB / 436.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002101/0.3864, allocations: 2.06 MB / 438.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003451/0.3899, allocations: 2.133 MB / 441 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01896/0.4088, allocations: 19.62 MB / 460.6 MB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4089, allocations: 4 kB / 460.6 MB, free: 5.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4089, allocations: 0 / 460.6 MB, free: 5.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004084/0.4093, allocations: 0 / 460.6 MB, free: 5.938 MB / 366.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.02889/0.4382, allocations: 11.36 MB / 472 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.4383, allocations: 8.031 kB / 472 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03451/0.4728, allocations: 6.261 MB / 478.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/0.486, allocations: 6.997 MB / 485.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000672/0.4867, allocations: 0.7224 MB / 486 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003113/0.4898, allocations: 0.9529 MB / 486.9 MB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03592/0.5257, allocations: 16.07 MB / 0.4912 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/0.526, allocations: 15.84 kB / 0.4912 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001344/0.5274, allocations: 404 kB / 0.4916 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000514/0.5279, allocations: 0.563 MB / 0.4922 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02927/0.5572, allocations: 15.05 MB / 0.5069 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4678/1.025, allocations: 53.22 MB / 0.5588 GB, free: 102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/1.039, allocations: 20.09 MB / 0.5785 GB, free: 85.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004462/1.044, allocations: 3.679 MB / 0.5821 GB, free: 84.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003672/1.044, allocations: 269.5 kB / 0.5823 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/1.044, allocations: 85.66 kB / 0.5824 GB, free: 84.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=453): time 6.091e-06/1.044, allocations: 0 / 0.5824 GB, free: 84.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.05066/1.095, allocations: 22.9 MB / 0.6048 GB, free: 71.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/1.095, allocations: 101.4 kB / 0.6048 GB, free: 71.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004986/1.1, allocations: 4.477 MB / 0.6092 GB, free: 69.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003632/1.1, allocations: 97.7 kB / 0.6093 GB, free: 69.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.102, allocations: 4.188 MB / 0.6134 GB, free: 65.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009757/1.103, allocations: 1.562 MB / 0.6149 GB, free: 63.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/1.103, allocations: 124 kB / 0.615 GB, free: 63.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/1.104, allocations: 0.5584 MB / 0.6156 GB, free: 62.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003964/1.108, allocations: 3.076 MB / 0.6186 GB, free: 59.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004941/1.113, allocations: 5.238 MB / 0.6237 GB, free: 53.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005236/1.118, allocations: 4.269 MB / 0.6279 GB, free: 49.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.872e-05/1.118, allocations: 20 kB / 0.6279 GB, free: 49.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01349/1.131, allocations: 9.874 MB / 0.6375 GB, free: 39.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/1.131, allocations: 32.34 kB / 0.6376 GB, free: 39.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.911e-05/1.132, allocations: 72 kB / 0.6376 GB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0031/1.135, allocations: 1.375 MB / 0.639 GB, free: 37.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004749/1.139, allocations: 1.388 MB / 0.6403 GB, free: 36.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/1.153, allocations: 11.65 MB / 0.6517 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/1.157, allocations: 367.4 kB / 0.6521 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005699/1.157, allocations: 292 kB / 0.6524 GB, free: 23.91 MB / 446.1 MB 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 (723): * Single equations (assignments): 717 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004926/1.162, allocations: 3.884 MB / 0.6561 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000744/1.163, allocations: 462.3 kB / 0.6566 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.175, allocations: 8.578 MB / 0.665 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008319/1.183, allocations: 6.272 MB / 0.6711 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.183, allocations: 12 kB / 0.6711 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.434e-05/1.183, allocations: 23.92 kB / 0.6711 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02714/1.21, allocations: 17.72 MB / 0.6884 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.21, allocations: 4 kB / 0.6884 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/1.214, allocations: 0.8114 MB / 0.6892 GB, free: 1.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/1.217, allocations: 1.274 MB / 0.6905 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/1.217, allocations: 108 kB / 0.6906 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/1.232, allocations: 10.56 MB / 0.7009 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.487e-06/1.232, allocations: 11.94 kB / 0.7009 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/1.251, allocations: 11.26 MB / 0.7119 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002915/1.254, allocations: 1.104 MB / 0.713 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007647/1.254, allocations: 91.98 kB / 0.7131 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.256, allocations: 243.8 kB / 0.7133 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/1.257, allocations: 327.6 kB / 0.7136 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003137/1.258, allocations: 139.9 kB / 0.7137 GB, free: 8.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004627/1.262, allocations: 3.084 MB / 0.7167 GB, free: 5.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.262, allocations: 0 / 0.7167 GB, free: 5.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006315/1.268, allocations: 1.736 MB / 0.7184 GB, free: 3.551 MB / 494.1 MB 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 (420): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,44.4%) 54} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/1.27, allocations: 0.5335 MB / 0.719 GB, free: 3.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.184/1.454, allocations: 8.003 MB / 0.7268 GB, free: 163.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.454, allocations: 1.312 kB / 0.7268 GB, free: 163.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007642/1.462, allocations: 3.975 MB / 0.7307 GB, free: 163.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007435/1.469, allocations: 1.01 MB / 0.7316 GB, free: 163 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03318/1.502, allocations: 21.55 MB / 0.7527 GB, free: 151.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006429/1.509, allocations: 6.517 MB / 0.7591 GB, free: 149.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005965/1.515, allocations: 2.117 MB / 0.7611 GB, free: 148.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.516, allocations: 382.8 kB / 0.7615 GB, free: 148.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/1.516, allocations: 4 kB / 0.7615 GB, free: 148.8 MB / 494.1 MB Notification: Performance of Templates: time 0.1048/1.621, allocations: 70.21 MB / 0.8301 GB, free: 83.52 MB / 494.1 MB 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