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.001294/0.001294, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001327/0.001327, allocations: 191.9 kB / 18.51 MB, free: 4.508 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.48/1.48, allocations: 205.1 MB / 224.4 MB, free: 12.29 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.001358/0.001358, allocations: 56.14 kB / 280.8 MB, free: 3.031 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 46.61 MB / 327.4 MB, free: 4.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03013/0.1434, allocations: 24.97 MB / 352.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01898/0.1624, allocations: 7.725 MB / 360.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007154/0.1696, allocations: 155.5 kB / 360.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02184/0.1915, allocations: 8.358 MB / 368.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.2024, allocations: 3.046 MB / 371.7 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006696/0.2091, allocations: 1.793 MB / 373.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2041/0.4132, allocations: 11.11 MB / 384.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02961/0.4429, allocations: 23.55 MB / 408.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008223/0.4511, allocations: 5.956 MB / 414.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02355/0.4747, allocations: 7.804 MB / 421.9 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005296/0.48, allocations: 1.753 MB / 423.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008242/0.4883, allocations: 2.131 MB / 425.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007955/0.4963, allocations: 3.406 MB / 429.2 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01359/0.5099, allocations: 6.437 MB / 435.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02854/0.5385, allocations: 23.02 MB / 458.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5386, allocations: 0 / 458.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5386, allocations: 0 / 458.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006376/0.5392, allocations: 4 kB / 458.6 MB, free: 11.9 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04626/0.5855, allocations: 13.61 MB / 472.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.5856, allocations: 11.97 kB / 472.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006527/0.5921, allocations: 1.641 MB / 473.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04192/0.6341, allocations: 7.209 MB / 481.1 MB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01654/0.6507, allocations: 6.495 MB / 487.6 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008238/0.6515, allocations: 0.739 MB / 488.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004203/0.6558, allocations: 0.9655 MB / 489.3 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04386/0.6996, allocations: 16.63 MB / 0.4941 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003642/0.7001, allocations: 15.81 kB / 0.4941 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003488/0.7036, allocations: 413.2 kB / 0.4945 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006051/0.7042, allocations: 0.5867 MB / 0.4951 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03176/0.7359, allocations: 15.8 MB / 0.5105 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.419/1.155, allocations: 53.97 MB / 0.5632 GB, free: 120.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/1.172, allocations: 22.72 MB / 0.5854 GB, free: 102.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005698/1.178, allocations: 3.793 MB / 0.5891 GB, free: 100.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01613/1.194, allocations: 11.7 MB / 0.6005 GB, free: 93.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/1.194, allocations: 72.45 kB / 0.6006 GB, free: 93.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=357): time 6.482e-06/1.194, allocations: 0 / 0.6006 GB, free: 93.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=362): time 0.04123/1.236, allocations: 17.52 MB / 0.6177 GB, free: 83.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/1.236, allocations: 92.62 kB / 0.6178 GB, free: 83.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007922/1.244, allocations: 4.765 MB / 0.6224 GB, free: 79.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007912/1.245, allocations: 81.7 kB / 0.6225 GB, free: 79.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002157/1.247, allocations: 4.499 MB / 0.6269 GB, free: 74.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00128/1.248, allocations: 1.25 MB / 0.6281 GB, free: 73.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001612/1.25, allocations: 1.19 MB / 0.6293 GB, free: 72.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/1.25, allocations: 301.1 kB / 0.6296 GB, free: 71.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/1.253, allocations: 2.9 MB / 0.6324 GB, free: 68.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004545/1.258, allocations: 5.269 MB / 0.6375 GB, free: 62.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009019/1.267, allocations: 8.64 MB / 0.646 GB, free: 52.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.967e-05/1.267, allocations: 24 kB / 0.646 GB, free: 52.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01622/1.283, allocations: 9.615 MB / 0.6554 GB, free: 43.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/1.283, allocations: 40.19 kB / 0.6554 GB, free: 43.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/1.283, allocations: 80 kB / 0.6555 GB, free: 43.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00368/1.287, allocations: 1.446 MB / 0.6569 GB, free: 41.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/1.292, allocations: 1.334 MB / 0.6582 GB, free: 40.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.306, allocations: 12.69 MB / 0.6706 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004796/1.311, allocations: 371.5 kB / 0.671 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009649/1.312, allocations: 296 kB / 0.6712 GB, free: 26.75 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 (689): * Single equations (assignments): 686 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005609/1.317, allocations: 3.927 MB / 0.6751 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.318, allocations: 450.4 kB / 0.6755 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/1.329, allocations: 6.775 MB / 0.6821 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007819/1.337, allocations: 5.588 MB / 0.6876 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/1.337, allocations: 12 kB / 0.6876 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.989e-05/1.337, allocations: 19.92 kB / 0.6876 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02614/1.363, allocations: 15.47 MB / 0.7027 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-05/1.363, allocations: 4 kB / 0.7027 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/1.366, allocations: 0.6669 MB / 0.7034 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003635/1.37, allocations: 1.31 MB / 0.7047 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003743/1.37, allocations: 87.97 kB / 0.7047 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2398/1.61, allocations: 11.56 MB / 0.716 GB, free: 144.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.61, allocations: 7.688 kB / 0.716 GB, free: 144.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/1.627, allocations: 10 MB / 0.7258 GB, free: 142.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.629, allocations: 1.016 MB / 0.7268 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006278/1.63, allocations: 75.31 kB / 0.7269 GB, free: 141.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.632, allocations: 216.7 kB / 0.7271 GB, free: 141.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000717/1.633, allocations: 278.8 kB / 0.7273 GB, free: 141.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/1.633, allocations: 113.8 kB / 0.7274 GB, free: 141.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005121/1.638, allocations: 3.233 MB / 0.7306 GB, free: 140.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.638, allocations: 0 / 0.7306 GB, free: 140.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006301/1.645, allocations: 1.7 MB / 0.7323 GB, free: 140.3 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 (333): * Single equations (assignments): 330 * 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.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01491/1.659, allocations: 10.98 MB / 0.743 GB, free: 135.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02573/1.685, allocations: 12.1 MB / 0.7548 GB, free: 131.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.685, allocations: 3.594 kB / 0.7548 GB, free: 131.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006199/1.691, allocations: 3.597 MB / 0.7583 GB, free: 128.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005969/1.697, allocations: 1.034 MB / 0.7593 GB, free: 127.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08742/1.785, allocations: 71.49 MB / 0.8291 GB, free: 53.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00706/1.792, allocations: 6.563 MB / 0.8356 GB, free: 47.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005515/1.798, allocations: 2.098 MB / 0.8376 GB, free: 45.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004495/1.802, allocations: 3.549 MB / 0.8411 GB, free: 41.72 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/1.802, allocations: 0 / 0.8411 GB, free: 41.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3878/2.19, allocations: 136.6 MB / 0.9745 GB, free: 72.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/13.98, allocations: 7.375 kB / 0.9745 GB, free: 72.96 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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