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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008503/0.0008503, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 227.7 MB / 246.8 MB, free: 9.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001795/0.0001795, allocations: 4 kB / 307.9 MB, free: 440 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07989/0.08008, allocations: 51.52 MB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1651/0.2453, allocations: 23.37 MB / 382.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.2575, allocations: 7.915 MB / 390.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.2602, allocations: 169.9 kB / 390.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003781/0.264, allocations: 1.767 MB / 392.6 MB, free: 2.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007271/0.2713, allocations: 2.747 MB / 395.4 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.2747, allocations: 1.615 MB / 397 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.2863, allocations: 11.07 MB / 408 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03451/0.3209, allocations: 23.55 MB / 431.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006621/0.3275, allocations: 4.173 MB / 435.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00719/0.3347, allocations: 5.007 MB / 440.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00146/0.3362, allocations: 0.6602 MB / 441.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.3399, allocations: 1.089 MB / 442.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002297/0.3422, allocations: 2.094 MB / 444.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006858/0.3491, allocations: 5.016 MB / 449.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01733/0.3664, allocations: 21.75 MB / 471.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3664, allocations: 0 / 471.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3665, allocations: 0 / 471.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003736/0.3668, allocations: 0 / 471.4 MB, free: 11.15 MB / 382.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.02764/0.3945, allocations: 11.27 MB / 482.6 MB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3945, allocations: 12.03 kB / 482.7 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004404/0.399, allocations: 1.612 MB / 484.3 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03228/0.4312, allocations: 6.258 MB / 490.5 MB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/0.4447, allocations: 7.108 MB / 497.6 MB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007496/0.4455, allocations: 0.7266 MB / 498.4 MB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00338/0.4489, allocations: 0.9606 MB / 499.3 MB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03688/0.4858, allocations: 16.18 MB / 0.5034 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003708/0.4862, allocations: 19.89 kB / 0.5034 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00264/0.4889, allocations: 404 kB / 0.5038 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006329/0.4895, allocations: 0.5592 MB / 0.5044 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02914/0.5187, allocations: 15.14 MB / 0.5192 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3518/0.8705, allocations: 53.32 MB / 0.5712 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.8837, allocations: 20.11 MB / 0.5909 GB, free: 83.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004013/0.8877, allocations: 3.684 MB / 0.5945 GB, free: 81.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.8881, allocations: 268.6 kB / 0.5947 GB, free: 80.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.8881, allocations: 77.22 kB / 0.5948 GB, free: 80.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=453): time 5.881e-06/0.8881, allocations: 0 / 0.5948 GB, free: 80.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.039/0.9271, allocations: 20.75 MB / 0.6151 GB, free: 64.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.9272, allocations: 98.91 kB / 0.6152 GB, free: 64.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004543/0.9318, allocations: 4.498 MB / 0.6195 GB, free: 59.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002295/0.932, allocations: 105.7 kB / 0.6196 GB, free: 59.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.9335, allocations: 4.203 MB / 0.6237 GB, free: 55.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007208/0.9342, allocations: 1.561 MB / 0.6253 GB, free: 53.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005108/0.9347, allocations: 499.5 kB / 0.6257 GB, free: 53.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.9348, allocations: 301.1 kB / 0.626 GB, free: 53.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00342/0.9382, allocations: 3.1 MB / 0.6291 GB, free: 50.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00408/0.9423, allocations: 5.257 MB / 0.6342 GB, free: 43.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007974/0.9503, allocations: 8.951 MB / 0.6429 GB, free: 33.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.411e-05/0.9503, allocations: 27.98 kB / 0.643 GB, free: 33.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01235/0.9627, allocations: 9.913 MB / 0.6526 GB, free: 23.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.9627, allocations: 39.94 kB / 0.6527 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.345e-05/0.9628, allocations: 68 kB / 0.6527 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002967/0.9658, allocations: 1.38 MB / 0.6541 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/0.9697, allocations: 1.381 MB / 0.6554 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.9821, allocations: 11.66 MB / 0.6668 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/0.9856, allocations: 359.4 kB / 0.6672 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/0.986, allocations: 292 kB / 0.6675 GB, free: 8.484 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 (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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004375/0.9904, allocations: 3.896 MB / 0.6713 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006058/0.991, allocations: 458.3 kB / 0.6717 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.003, allocations: 8.59 MB / 0.6801 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009823/1.013, allocations: 6.307 MB / 0.6862 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/1.013, allocations: 12 kB / 0.6863 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-05/1.013, allocations: 27.91 kB / 0.6863 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/1.038, allocations: 17.77 MB / 0.7036 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/1.038, allocations: 8 kB / 0.7036 GB, free: 3.191 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00309/1.041, allocations: 0.8118 MB / 0.7044 GB, free: 2.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/1.045, allocations: 1.282 MB / 0.7057 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/1.045, allocations: 104 kB / 0.7058 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1659/1.211, allocations: 10.57 MB / 0.7161 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.211, allocations: 17.45 kB / 0.7161 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/1.227, allocations: 11.31 MB / 0.7272 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/1.229, allocations: 1.109 MB / 0.7283 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/1.229, allocations: 92.91 kB / 0.7283 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.231, allocations: 237.1 kB / 0.7286 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006645/1.232, allocations: 329.6 kB / 0.7289 GB, free: 139.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002522/1.232, allocations: 138.2 kB / 0.729 GB, free: 139.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003406/1.235, allocations: 3.116 MB / 0.7321 GB, free: 138.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.235, allocations: 2.875 kB / 0.7321 GB, free: 138.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004346/1.24, allocations: 1.733 MB / 0.7338 GB, free: 138.5 MB / 478.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 (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,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01382/1.254, allocations: 12.32 MB / 0.7458 GB, free: 133 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009739/1.263, allocations: 8.046 MB / 0.7536 GB, free: 127.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.263, allocations: 4 kB / 0.7536 GB, free: 127.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00503/1.268, allocations: 3.989 MB / 0.7575 GB, free: 124.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007815/1.276, allocations: 0.9961 MB / 0.7585 GB, free: 123.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1007/1.377, allocations: 76.85 MB / 0.8336 GB, free: 41.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006778/1.384, allocations: 6.52 MB / 0.8399 GB, free: 35.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005283/1.389, allocations: 2.111 MB / 0.842 GB, free: 32.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003942/1.393, allocations: 3.565 MB / 0.8455 GB, free: 29.34 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/1.393, allocations: 0 / 0.8455 GB, free: 29.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.315/1.708, allocations: 136.4 MB / 0.9786 GB, free: 86.07 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.708, allocations: 330.6 kB / 0.9789 GB, free: 85.69 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.281/5.989, allocations: 0 / 0.9789 GB, free: 85.69 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > 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