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.001375/0.001375, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.88 kB / 358.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.299, allocations: 50.56 MB / 408.9 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02933/0.3284, allocations: 24.88 MB / 433.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.346, allocations: 8.05 MB / 441.8 MB, free: 344 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005915/0.352, allocations: 179.4 kB / 442 MB, free: 164 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02023/0.3722, allocations: 8.363 MB / 450.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.3827, allocations: 3.026 MB / 453.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005772/0.3885, allocations: 1.831 MB / 455.2 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01612/0.4046, allocations: 11.21 MB / 466.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03869/0.4434, allocations: 23.32 MB / 489.7 MB, free: 188 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.4545, allocations: 5.903 MB / 495.6 MB, free: 10.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0126/0.4671, allocations: 6.483 MB / 0.4904 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005244/0.4724, allocations: 1.715 MB / 0.492 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006938/0.4794, allocations: 2.152 MB / 0.4941 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005692/0.4851, allocations: 3.402 MB / 0.4975 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01159/0.4967, allocations: 6.35 MB / 0.5037 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03292/0.5297, allocations: 23.2 MB / 0.5263 GB, free: 14.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5297, allocations: 0 / 0.5263 GB, free: 14.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5297, allocations: 0 / 0.5263 GB, free: 14.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000664/0.5304, allocations: 0 / 0.5263 GB, free: 14.83 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.04461/0.5751, allocations: 13.65 MB / 0.5396 GB, free: 1.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.5751, allocations: 8.031 kB / 0.5397 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.438/1.013, allocations: 1.605 MB / 0.5412 GB, free: 110.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03595/1.049, allocations: 6.258 MB / 0.5473 GB, free: 109.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/1.065, allocations: 7.296 MB / 0.5545 GB, free: 105.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008421/1.066, allocations: 0.7224 MB / 0.5552 GB, free: 105.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00408/1.07, allocations: 0.9508 MB / 0.5561 GB, free: 104.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04006/1.11, allocations: 16.2 MB / 0.5719 GB, free: 90.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004714/1.111, allocations: 23.88 kB / 0.5719 GB, free: 90.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003712/1.115, allocations: 399.6 kB / 0.5723 GB, free: 90.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005234/1.115, allocations: 0.5632 MB / 0.5729 GB, free: 89.53 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03015/1.145, allocations: 15.16 MB / 0.5877 GB, free: 74.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08113/1.227, allocations: 52.71 MB / 0.6391 GB, free: 21.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/1.242, allocations: 20.12 MB / 0.6588 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00622/1.248, allocations: 3.649 MB / 0.6624 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005083/1.249, allocations: 293.5 kB / 0.6626 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.59e-05/1.249, allocations: 78.06 kB / 0.6627 GB, free: 11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=447): time 6.262e-06/1.249, allocations: 0 / 0.6627 GB, free: 11 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.05337/1.302, allocations: 20.81 MB / 0.683 GB, free: 6.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/1.302, allocations: 98.95 kB / 0.6831 GB, free: 6.176 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007239/1.31, allocations: 4.51 MB / 0.6875 GB, free: 1.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008669/1.31, allocations: 101.7 kB / 0.6876 GB, free: 1.539 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003476/1.314, allocations: 4.353 MB / 0.6919 GB, free: 13.14 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002179/1.316, allocations: 1.615 MB / 0.6935 GB, free: 11.52 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/1.318, allocations: 1.212 MB / 0.6946 GB, free: 10.29 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.318, allocations: 305.1 kB / 0.6949 GB, free: 9.992 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005108/1.323, allocations: 3.073 MB / 0.6979 GB, free: 6.914 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007024/1.33, allocations: 5.215 MB / 0.703 GB, free: 0.7266 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01399/1.344, allocations: 8.887 MB / 0.7117 GB, free: 6.871 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.756e-05/1.345, allocations: 24 kB / 0.7117 GB, free: 6.848 MB / 0.5138 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02024/1.365, allocations: 9.904 MB / 0.7214 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/1.365, allocations: 43.97 kB / 0.7214 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001419/1.365, allocations: 68 kB / 0.7215 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/1.369, allocations: 1.407 MB / 0.7229 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005988/1.375, allocations: 1.392 MB / 0.7242 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/1.396, allocations: 12.68 MB / 0.7366 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005133/1.401, allocations: 347.5 kB / 0.737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/1.402, allocations: 300 kB / 0.7372 GB, free: 12.41 MB / 0.545 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.007679/1.41, allocations: 3.892 MB / 0.741 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.412, allocations: 476.9 kB / 0.7415 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3138/1.725, allocations: 8.509 MB / 0.7498 GB, free: 184.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01215/1.738, allocations: 6.273 MB / 0.7559 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/1.738, allocations: 15.72 kB / 0.756 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.765e-05/1.738, allocations: 23.88 kB / 0.756 GB, free: 183.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02686/1.765, allocations: 17.46 MB / 0.773 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/1.765, allocations: 7.812 kB / 0.773 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00304/1.768, allocations: 0.8099 MB / 0.7738 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/1.771, allocations: 1.284 MB / 0.7751 GB, free: 176.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005077/1.772, allocations: 108.1 kB / 0.7752 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/1.785, allocations: 11.57 MB / 0.7865 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/1.785, allocations: 15 kB / 0.7865 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/1.802, allocations: 11.25 MB / 0.7975 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003236/1.805, allocations: 1.115 MB / 0.7986 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/1.807, allocations: 84.66 kB / 0.7987 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003188/1.81, allocations: 241.9 kB / 0.7989 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000818/1.811, allocations: 332.9 kB / 0.7992 GB, free: 159.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002791/1.811, allocations: 140 kB / 0.7993 GB, free: 159.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004738/1.816, allocations: 3.111 MB / 0.8024 GB, free: 155.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/1.816, allocations: 0 / 0.8024 GB, free: 155.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00784/1.824, allocations: 1.732 MB / 0.8041 GB, free: 154.2 MB / 0.545 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.01852/1.842, allocations: 12.26 MB / 0.816 GB, free: 142.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01316/1.856, allocations: 8 MB / 0.8239 GB, free: 134.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.856, allocations: 0 / 0.8239 GB, free: 134.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006754/1.862, allocations: 3.952 MB / 0.8277 GB, free: 130.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005407/1.868, allocations: 1.059 MB / 0.8287 GB, free: 129.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09161/1.959, allocations: 60.86 MB / 0.8882 GB, free: 65.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007183/1.967, allocations: 6.52 MB / 0.8946 GB, free: 59.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005261/1.972, allocations: 2.123 MB / 0.8966 GB, free: 57.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005064/1.977, allocations: 3.588 MB / 0.9001 GB, free: 53.54 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.977, allocations: 0 / 0.9001 GB, free: 53.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4802/2.457, allocations: 138.3 MB / 1.035 GB, free: 119.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.27/23.73, allocations: 18.72 kB / 1.035 GB, free: 119.1 MB / 0.545 GB (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.1.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