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.00129/0.00129, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 60.94 kB / 306.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07988/0.08103, allocations: 50.53 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1778/0.2588, allocations: 24.45 MB / 381.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.2742, allocations: 8.009 MB / 389.4 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005971/0.2802, allocations: 178.6 kB / 389.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01624/0.2965, allocations: 7.918 MB / 397.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009312/0.3058, allocations: 2.773 MB / 400.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.3111, allocations: 1.715 MB / 402 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.3242, allocations: 11.08 MB / 413 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02788/0.3521, allocations: 19.61 MB / 432.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007129/0.3592, allocations: 5.102 MB / 437.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008445/0.3677, allocations: 6.194 MB / 443.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003055/0.3708, allocations: 1.109 MB / 445.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005476/0.3763, allocations: 1.546 MB / 446.6 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004249/0.3806, allocations: 2.723 MB / 449.3 MB, free: 256 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0112/0.3918, allocations: 5.729 MB / 455.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.022/0.4138, allocations: 22.62 MB / 477.7 MB, free: 3.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4138, allocations: 0 / 477.7 MB, free: 3.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4139, allocations: 0 / 477.7 MB, free: 3.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005161/0.4144, allocations: 4 kB / 477.7 MB, free: 3.805 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.03858/0.453, allocations: 13.49 MB / 491.2 MB, free: 6.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.453, allocations: 8.031 kB / 491.2 MB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006491/0.4595, allocations: 1.616 MB / 492.8 MB, free: 4.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03428/0.4938, allocations: 6.231 MB / 499 MB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.5081, allocations: 7.08 MB / 0.4942 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007405/0.5089, allocations: 0.7226 MB / 0.4949 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003906/0.5128, allocations: 0.9569 MB / 0.4959 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03826/0.5511, allocations: 16.18 MB / 0.5117 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003807/0.5515, allocations: 11.91 kB / 0.5117 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/0.5541, allocations: 407.9 kB / 0.5121 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005853/0.5547, allocations: 0.5554 MB / 0.5126 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02932/0.584, allocations: 15.13 MB / 0.5274 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.383/0.9671, allocations: 53.16 MB / 0.5793 GB, free: 95.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/0.9808, allocations: 20.12 MB / 0.599 GB, free: 77.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004534/0.9854, allocations: 3.679 MB / 0.6026 GB, free: 75.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003508/0.9858, allocations: 261.1 kB / 0.6028 GB, free: 75.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.9858, allocations: 81.53 kB / 0.6029 GB, free: 75.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=453): time 6.251e-06/0.9858, allocations: 0 / 0.6029 GB, free: 75.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.04266/1.029, allocations: 20.65 MB / 0.623 GB, free: 56.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.029, allocations: 102.9 kB / 0.6231 GB, free: 56.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/1.034, allocations: 4.502 MB / 0.6275 GB, free: 51.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005197/1.034, allocations: 97.7 kB / 0.6276 GB, free: 51.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.036, allocations: 4.211 MB / 0.6317 GB, free: 47.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/1.037, allocations: 1.558 MB / 0.6333 GB, free: 45.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/1.039, allocations: 1.196 MB / 0.6344 GB, free: 44.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.238e-05/1.039, allocations: 305.1 kB / 0.6347 GB, free: 44.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.042, allocations: 3.1 MB / 0.6378 GB, free: 41.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004776/1.047, allocations: 5.248 MB / 0.6429 GB, free: 35.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009511/1.057, allocations: 8.939 MB / 0.6516 GB, free: 25.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.728e-05/1.057, allocations: 20 kB / 0.6516 GB, free: 25.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01704/1.074, allocations: 9.906 MB / 0.6613 GB, free: 15.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/1.074, allocations: 36 kB / 0.6613 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.991e-05/1.074, allocations: 68 kB / 0.6614 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003448/1.078, allocations: 1.38 MB / 0.6627 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/1.083, allocations: 1.381 MB / 0.6641 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.096, allocations: 11.64 MB / 0.6755 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004074/1.1, allocations: 363.4 kB / 0.6758 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007733/1.101, allocations: 292 kB / 0.6761 GB, free: 15.8 MB / 462.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.006604/1.107, allocations: 3.895 MB / 0.6799 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.109, allocations: 462.3 kB / 0.6803 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/1.122, allocations: 8.579 MB / 0.6887 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0103/1.133, allocations: 6.288 MB / 0.6948 GB, free: 12.49 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/1.133, allocations: 12 kB / 0.6949 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.771e-05/1.133, allocations: 31.91 kB / 0.6949 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2152/1.348, allocations: 17.75 MB / 0.7122 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/1.348, allocations: 6.406 kB / 0.7122 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003243/1.351, allocations: 0.8103 MB / 0.713 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/1.355, allocations: 1.278 MB / 0.7143 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007157/1.355, allocations: 103 kB / 0.7144 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.37, allocations: 10.57 MB / 0.7247 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.37, allocations: 11.94 kB / 0.7247 GB, free: 140.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01716/1.387, allocations: 11.29 MB / 0.7357 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/1.39, allocations: 1.088 MB / 0.7368 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/1.391, allocations: 91.31 kB / 0.7369 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003105/1.395, allocations: 238.3 kB / 0.7371 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009542/1.395, allocations: 326.2 kB / 0.7374 GB, free: 135.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003211/1.396, allocations: 140.1 kB / 0.7376 GB, free: 135.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004634/1.4, allocations: 3.11 MB / 0.7406 GB, free: 134.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.61e-07/1.4, allocations: 3.938 kB / 0.7406 GB, free: 134.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006931/1.407, allocations: 1.73 MB / 0.7423 GB, free: 134.1 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.01682/1.424, allocations: 12.3 MB / 0.7543 GB, free: 126.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01097/1.435, allocations: 8.023 MB / 0.7621 GB, free: 119.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.435, allocations: 8 kB / 0.7621 GB, free: 119.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005894/1.441, allocations: 3.971 MB / 0.766 GB, free: 116.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/1.446, allocations: 1.007 MB / 0.767 GB, free: 115.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1133/1.559, allocations: 76.71 MB / 0.8419 GB, free: 33.76 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006119/1.566, allocations: 6.52 MB / 0.8483 GB, free: 27.21 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005267/1.571, allocations: 2.115 MB / 0.8503 GB, free: 25.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004132/1.575, allocations: 3.564 MB / 0.8538 GB, free: 21.53 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/1.575, allocations: 0 / 0.8538 GB, free: 21.53 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5439/2.119, allocations: 138.4 MB / 0.989 GB, free: 79.43 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/2.119, allocations: 342.2 kB / 0.9893 GB, free: 79.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.914/7.033, allocations: 0 / 0.9893 GB, free: 79.04 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