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_Characteristics.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_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",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.001403/0.001403, allocations: 103.8 kB / 17.58 MB, free: 5.426 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.001591/0.001591, allocations: 192.2 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 2.128/2.128, 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.002009/0.002009, allocations: 59.92 kB / 280.8 MB, free: 3.031 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1283, allocations: 46.62 MB / 327.4 MB, free: 4.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03662/0.165, allocations: 24.88 MB / 352.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02041/0.1854, allocations: 7.369 MB / 359.7 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005916/0.1914, allocations: 151.6 kB / 359.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02529/0.2168, allocations: 8.779 MB / 368.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.2289, allocations: 2.988 MB / 371.6 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00567/0.2346, allocations: 1.735 MB / 373.3 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2871/0.5218, allocations: 10.77 MB / 384.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04035/0.5622, allocations: 21.96 MB / 406 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/0.5727, allocations: 5.773 MB / 411.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02099/0.5937, allocations: 6.899 MB / 418.7 MB, free: 0 / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01279/0.6066, allocations: 2.051 MB / 420.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007715/0.6143, allocations: 2.055 MB / 422.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003619/0.6179, allocations: 3.22 MB / 426 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009311/0.6273, allocations: 6.185 MB / 432.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02832/0.6556, allocations: 22.27 MB / 454.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.6556, allocations: 0 / 454.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6557, allocations: 0 / 454.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005096/0.6562, allocations: 0 / 454.5 MB, free: 14.01 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: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.05736/0.7136, allocations: 12.97 MB / 467.5 MB, free: 1.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.7136, allocations: 12.03 kB / 467.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00785/0.7215, allocations: 1.578 MB / 469.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06759/0.7891, allocations: 7.135 MB / 476.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/0.8095, allocations: 6.155 MB / 482.3 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001362/0.8109, allocations: 0.7135 MB / 483.1 MB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005369/0.8163, allocations: 0.9422 MB / 484 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06865/0.885, allocations: 16.21 MB / 0.4885 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005337/0.8856, allocations: 7.906 kB / 0.4885 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003706/0.8894, allocations: 397.7 kB / 0.4889 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/0.8904, allocations: 0.5826 MB / 0.4894 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04749/0.9379, allocations: 15.45 MB / 0.5045 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5466/1.485, allocations: 52.87 MB / 0.5562 GB, free: 119.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03214/1.517, allocations: 35.5 MB / 0.5908 GB, free: 89.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006317/1.523, allocations: 3.395 MB / 0.5941 GB, free: 88.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02009/1.543, allocations: 10.09 MB / 0.604 GB, free: 84.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/1.543, allocations: 72.05 kB / 0.6041 GB, free: 84.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=297): time 6.973e-06/1.543, allocations: 2.062 kB / 0.6041 GB, free: 84.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=303): time 0.04333/1.587, allocations: 15.34 MB / 0.619 GB, free: 75.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.587, allocations: 86.39 kB / 0.6191 GB, free: 75.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008012/1.595, allocations: 3.849 MB / 0.6229 GB, free: 73.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002686/1.595, allocations: 79.27 kB / 0.623 GB, free: 73.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/1.598, allocations: 4.261 MB / 0.6271 GB, free: 69.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.599, allocations: 1.059 MB / 0.6282 GB, free: 68.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002021/1.601, allocations: 1.091 MB / 0.6292 GB, free: 68.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.588e-05/1.601, allocations: 301.1 kB / 0.6295 GB, free: 67.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00441/1.605, allocations: 2.556 MB / 0.632 GB, free: 66.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006109/1.611, allocations: 4.912 MB / 0.6368 GB, free: 60.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.622, allocations: 7.945 MB / 0.6446 GB, free: 51.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.786e-05/1.622, allocations: 28 kB / 0.6446 GB, free: 51.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01774/1.639, allocations: 8.644 MB / 0.653 GB, free: 42.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/1.639, allocations: 36 kB / 0.6531 GB, free: 42.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.64, allocations: 80 kB / 0.6531 GB, free: 42.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004332/1.644, allocations: 1.254 MB / 0.6544 GB, free: 41.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005613/1.65, allocations: 1.224 MB / 0.6556 GB, free: 39.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/1.668, allocations: 9.965 MB / 0.6653 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006458/1.674, allocations: 335.4 kB / 0.6656 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006402/1.675, allocations: 284 kB / 0.6659 GB, free: 29.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (638): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006714/1.682, allocations: 3.732 MB / 0.6695 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.683, allocations: 379.3 kB / 0.6699 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.695, allocations: 5.815 MB / 0.6756 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009877/1.705, allocations: 4.77 MB / 0.6802 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.373e-05/1.705, allocations: 8 kB / 0.6802 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-05/1.705, allocations: 15.94 kB / 0.6802 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/1.736, allocations: 13.72 MB / 0.6936 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/1.736, allocations: 4 kB / 0.6936 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003327/1.739, allocations: 0.5617 MB / 0.6942 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004596/1.744, allocations: 1.129 MB / 0.6953 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004167/1.744, allocations: 63.98 kB / 0.6954 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.764, allocations: 8.861 MB / 0.704 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/1.764, allocations: 7.938 kB / 0.704 GB, free: 5.762 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2392/2.003, allocations: 8.5 MB / 0.7123 GB, free: 148.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/2.006, allocations: 0.8633 MB / 0.7132 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/2.007, allocations: 59.31 kB / 0.7132 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004439/2.011, allocations: 182.4 kB / 0.7134 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009005/2.012, allocations: 223.5 kB / 0.7136 GB, free: 148.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000305/2.013, allocations: 90.77 kB / 0.7137 GB, free: 148.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006352/2.019, allocations: 2.587 MB / 0.7162 GB, free: 148 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/2.019, allocations: 1.969 kB / 0.7162 GB, free: 148 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008205/2.027, allocations: 1.552 MB / 0.7177 GB, free: 147.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * 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 (282): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01771/2.045, allocations: 9.207 MB / 0.7267 GB, free: 143.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02888/2.074, allocations: 9.981 MB / 0.7365 GB, free: 141.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/2.074, allocations: 0 / 0.7365 GB, free: 141.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006516/2.08, allocations: 2.962 MB / 0.7394 GB, free: 140 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005646/2.086, allocations: 0.9493 MB / 0.7403 GB, free: 139.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09766/2.184, allocations: 60.65 MB / 0.7995 GB, free: 83.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006723/2.191, allocations: 6.231 MB / 0.8056 GB, free: 77.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007572/2.198, allocations: 1.875 MB / 0.8074 GB, free: 75.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004596/2.203, allocations: 3.256 MB / 0.8106 GB, free: 71.92 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/2.203, allocations: 0 / 0.8106 GB, free: 71.92 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5354/2.738, allocations: 122.2 MB / 0.93 GB, free: 117.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.59/22.33, allocations: 15.7 kB / 0.93 GB, free: 117.4 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv","/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_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches