Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0007428/0.0007429, allocations: 94.67 kB / 17.3 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007537/0.0007537, allocations: 171.6 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004982, allocations: 15.98 kB / 281.5 MB, free: 3.281 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09778, allocations: 47.58 MB / 329.1 MB, free: 3.625 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02273/0.1206, allocations: 23.44 MB / 352.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.1368, allocations: 7.589 MB / 360.1 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005208/0.1421, allocations: 143.6 kB / 360.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006192/0.1483, allocations: 1.762 MB / 362 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009869/0.1582, allocations: 2.769 MB / 364.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.1633, allocations: 1.556 MB / 366.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01405/0.1773, allocations: 11.14 MB / 377.5 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2135/0.3909, allocations: 23.57 MB / 401.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00864/0.3996, allocations: 4.222 MB / 405.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008832/0.4084, allocations: 5.092 MB / 410.4 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002811/0.4113, allocations: 0.6656 MB / 411 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/0.4159, allocations: 1.061 MB / 412.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003381/0.4193, allocations: 2.15 MB / 414.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007846/0.4271, allocations: 5.072 MB / 419.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01995/0.4471, allocations: 21.74 MB / 441.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4472, allocations: 0 / 441.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4472, allocations: 0 / 441.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005031/0.4477, allocations: 4 kB / 441.1 MB, free: 14.2 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03007/0.4778, allocations: 11.37 MB / 452.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4778, allocations: 8.031 kB / 452.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004963/0.4828, allocations: 1.641 MB / 454.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04064/0.5235, allocations: 7.232 MB / 461.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/0.5398, allocations: 6.527 MB / 467.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007708/0.5406, allocations: 0.7322 MB / 468.6 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004089/0.5447, allocations: 0.9707 MB / 469.5 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04537/0.5901, allocations: 16.65 MB / 486.2 MB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005139/0.5907, allocations: 19.8 kB / 486.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005639/0.5963, allocations: 412.2 kB / 486.6 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007804/0.5971, allocations: 0.5871 MB / 487.2 MB, free: 328 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03762/0.6348, allocations: 15.83 MB / 0.4912 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4664/1.101, allocations: 54.11 MB / 0.5441 GB, free: 119 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01956/1.121, allocations: 22.73 MB / 0.5663 GB, free: 102.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005729/1.127, allocations: 3.836 MB / 0.57 GB, free: 102.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/1.144, allocations: 11.79 MB / 0.5815 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/1.144, allocations: 76.55 kB / 0.5816 GB, free: 101 MB / 446.1 MB Notification: Performance of pre-optimization done (n=363): time 5.129e-06/1.144, allocations: 0 / 0.5816 GB, free: 101 MB / 446.1 MB Notification: Performance of matching and sorting (n=368): time 0.03528/1.179, allocations: 17.57 MB / 0.5988 GB, free: 93.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/1.179, allocations: 88.17 kB / 0.5989 GB, free: 93.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006011/1.185, allocations: 4.762 MB / 0.6035 GB, free: 91.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006462/1.186, allocations: 83.92 kB / 0.6036 GB, free: 91.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002049/1.188, allocations: 4.49 MB / 0.608 GB, free: 88.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.189, allocations: 1.274 MB / 0.6092 GB, free: 87.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000598/1.19, allocations: 477.8 kB / 0.6097 GB, free: 86.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.702e-05/1.19, allocations: 301.1 kB / 0.61 GB, free: 86.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/1.194, allocations: 2.94 MB / 0.6128 GB, free: 84.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005583/1.199, allocations: 5.31 MB / 0.618 GB, free: 80.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009802/1.209, allocations: 8.718 MB / 0.6265 GB, free: 73.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.286e-05/1.209, allocations: 20 kB / 0.6266 GB, free: 73.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.01495/1.224, allocations: 9.685 MB / 0.636 GB, free: 63.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/1.224, allocations: 40 kB / 0.6361 GB, free: 63.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-05/1.225, allocations: 76 kB / 0.6361 GB, free: 63.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003231/1.228, allocations: 1.411 MB / 0.6375 GB, free: 61.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004405/1.232, allocations: 1.33 MB / 0.6388 GB, free: 60.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/1.245, allocations: 11.7 MB / 0.6502 GB, free: 48.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/1.25, allocations: 367.5 kB / 0.6506 GB, free: 48.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006176/1.25, allocations: 304 kB / 0.6509 GB, free: 47.87 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (692): * Single equations (assignments): 686 * 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.005279/1.256, allocations: 3.919 MB / 0.6547 GB, free: 43.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007718/1.256, allocations: 454.4 kB / 0.6551 GB, free: 43.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.267, allocations: 6.828 MB / 0.6618 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007938/1.275, allocations: 5.648 MB / 0.6673 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.275, allocations: 12 kB / 0.6673 GB, free: 30.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.092e-05/1.275, allocations: 19.92 kB / 0.6673 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02268/1.297, allocations: 15.55 MB / 0.6825 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.297, allocations: 4 kB / 0.6825 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/1.3, allocations: 0.6714 MB / 0.6832 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/1.303, allocations: 1.268 MB / 0.6844 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003109/1.303, allocations: 87.97 kB / 0.6845 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/1.315, allocations: 10.59 MB / 0.6949 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.315, allocations: 12.38 kB / 0.6949 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/1.33, allocations: 10.11 MB / 0.7047 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/1.333, allocations: 1.042 MB / 0.7058 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006673/1.333, allocations: 72 kB / 0.7058 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/1.336, allocations: 223.8 kB / 0.706 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006737/1.336, allocations: 275.1 kB / 0.7063 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/1.337, allocations: 116 kB / 0.7064 GB, free: 6.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004737/1.341, allocations: 3.229 MB / 0.7096 GB, free: 3.148 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.341, allocations: 0 / 0.7096 GB, free: 3.148 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006324/1.348, allocations: 1.697 MB / 0.7112 GB, free: 1.457 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (336): * Single equations (assignments): 330 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2247/1.572, allocations: 11.11 MB / 0.7221 GB, free: 141.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01499/1.587, allocations: 7.593 MB / 0.7295 GB, free: 138.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.588, allocations: 0 / 0.7295 GB, free: 138.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005934/1.593, allocations: 3.613 MB / 0.733 GB, free: 137.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006968/1.6, allocations: 0.9755 MB / 0.734 GB, free: 137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1174/1.718, allocations: 75.83 MB / 0.808 GB, free: 75.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006509/1.724, allocations: 6.556 MB / 0.8144 GB, free: 68.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005812/1.73, allocations: 2.102 MB / 0.8165 GB, free: 66.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004573/1.735, allocations: 3.545 MB / 0.8199 GB, free: 63.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/1.735, allocations: 0 / 0.8199 GB, free: 63.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3485/2.083, allocations: 132.5 MB / 0.9493 GB, free: 96.97 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/2.084, allocations: 333.9 kB / 0.9496 GB, free: 96.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.44/6.523, allocations: 0 / 0.9496 GB, free: 96.59 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches