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.001348/0.001348, allocations: 113.4 kB / 17.72 MB, free: 5.445 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.001459/0.001459, allocations: 184.1 kB / 18.65 MB, free: 4.52 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.383/1.383, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001939/0.001939, allocations: 51.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1046, allocations: 46.63 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2424/0.3471, allocations: 24.9 MB / 399.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01942/0.3666, allocations: 7.353 MB / 406.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006895/0.3735, allocations: 151.4 kB / 407.1 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0224/0.3959, allocations: 8.847 MB / 415.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01313/0.4091, allocations: 3.013 MB / 418.9 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005785/0.4149, allocations: 1.735 MB / 420.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01835/0.4333, allocations: 10.87 MB / 431.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03676/0.4701, allocations: 21.87 MB / 453.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.4821, allocations: 5.802 MB / 459.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/0.4945, allocations: 6.35 MB / 465.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005039/0.4995, allocations: 1.68 MB / 467.2 MB, free: 3.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007494/0.507, allocations: 2.039 MB / 469.3 MB, free: 1.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005826/0.5129, allocations: 3.219 MB / 472.5 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01418/0.5271, allocations: 6.172 MB / 478.7 MB, free: 7.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03238/0.5595, allocations: 22.42 MB / 0.4893 GB, free: 1.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5596, allocations: 0 / 0.4893 GB, free: 1.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5596, allocations: 3.938 kB / 0.4893 GB, free: 1.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006626/0.5602, allocations: 0 / 0.4893 GB, free: 1.27 MB / 414.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.05945/0.6197, allocations: 13.13 MB / 0.5022 GB, free: 4.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/0.6198, allocations: 12.03 kB / 0.5022 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009593/0.6294, allocations: 1.581 MB / 0.5037 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04879/0.6782, allocations: 7.239 MB / 0.5108 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01733/0.6956, allocations: 6.174 MB / 0.5168 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000923/0.6966, allocations: 0.7105 MB / 0.5175 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00521/0.7018, allocations: 0.9335 MB / 0.5184 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05806/0.7599, allocations: 16.21 MB / 0.5343 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006365/0.7606, allocations: 11.91 kB / 0.5343 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005678/0.7663, allocations: 396 kB / 0.5346 GB, free: 2.617 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001106/0.7675, allocations: 0.5825 MB / 0.5352 GB, free: 2.031 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0372/0.8047, allocations: 15.47 MB / 0.5503 GB, free: 2.539 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.574/1.379, allocations: 52.36 MB / 0.6014 GB, free: 103.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0274/1.406, allocations: 35.49 MB / 0.6361 GB, free: 68.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00648/1.413, allocations: 3.394 MB / 0.6394 GB, free: 66.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01659/1.429, allocations: 10.06 MB / 0.6492 GB, free: 58.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/1.429, allocations: 72.77 kB / 0.6493 GB, free: 58.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 4.578e-06/1.429, allocations: 0 / 0.6493 GB, free: 58.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03129/1.461, allocations: 15.47 MB / 0.6644 GB, free: 43.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.461, allocations: 85.72 kB / 0.6645 GB, free: 43.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004699/1.465, allocations: 3.869 MB / 0.6683 GB, free: 39.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004062/1.466, allocations: 73.7 kB / 0.6683 GB, free: 39.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/1.468, allocations: 4.416 MB / 0.6727 GB, free: 35.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008212/1.469, allocations: 1.103 MB / 0.6737 GB, free: 34.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/1.47, allocations: 1.108 MB / 0.6748 GB, free: 33.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.517e-05/1.47, allocations: 301.1 kB / 0.6751 GB, free: 32.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/1.473, allocations: 2.548 MB / 0.6776 GB, free: 30.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003731/1.477, allocations: 4.912 MB / 0.6824 GB, free: 24.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007176/1.484, allocations: 7.945 MB / 0.6901 GB, free: 15.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.853e-05/1.484, allocations: 24 kB / 0.6902 GB, free: 15.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01296/1.497, allocations: 8.664 MB / 0.6986 GB, free: 6.527 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/1.497, allocations: 40 kB / 0.6987 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.846e-05/1.497, allocations: 80 kB / 0.6987 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003125/1.5, allocations: 1.245 MB / 0.7 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/1.504, allocations: 1.224 MB / 0.7012 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/1.519, allocations: 9.966 MB / 0.7109 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00553/1.525, allocations: 327.6 kB / 0.7112 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.526, allocations: 292 kB / 0.7115 GB, free: 9.223 MB / 494.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.007952/1.534, allocations: 3.725 MB / 0.7151 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.535, allocations: 397.5 kB / 0.7155 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.546, allocations: 5.815 MB / 0.7212 GB, free: 15.23 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008228/1.554, allocations: 4.762 MB / 0.7258 GB, free: 10.42 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/1.554, allocations: 8 kB / 0.7258 GB, free: 10.41 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/1.554, allocations: 15.94 kB / 0.7258 GB, free: 10.39 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0258/1.58, allocations: 13.71 MB / 0.7392 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.58, allocations: 7.938 kB / 0.7392 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/1.582, allocations: 0.5539 MB / 0.7398 GB, free: 12.06 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003111/1.585, allocations: 1.113 MB / 0.7409 GB, free: 10.94 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002379/1.586, allocations: 75.97 kB / 0.7409 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/1.599, allocations: 8.848 MB / 0.7496 GB, free: 1.887 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.599, allocations: 11.94 kB / 0.7496 GB, free: 1.875 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.305/1.904, allocations: 8.513 MB / 0.7579 GB, free: 172.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003152/1.907, allocations: 0.8859 MB / 0.7588 GB, free: 172.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000706/1.908, allocations: 61.11 kB / 0.7588 GB, free: 172 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.91, allocations: 182.3 kB / 0.759 GB, free: 172 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000873/1.911, allocations: 225.7 kB / 0.7592 GB, free: 171.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.911, allocations: 95.09 kB / 0.7593 GB, free: 171.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005095/1.916, allocations: 2.587 MB / 0.7618 GB, free: 171 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.3e-07/1.916, allocations: 1.781 kB / 0.7618 GB, free: 171 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00891/1.925, allocations: 1.553 MB / 0.7634 GB, free: 170.8 MB / 0.5138 GB 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.01666/1.942, allocations: 9.231 MB / 0.7724 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.954, allocations: 6.533 MB / 0.7787 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.954, allocations: 3.906 kB / 0.7788 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00558/1.959, allocations: 2.964 MB / 0.7816 GB, free: 162.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005477/1.965, allocations: 0.9483 MB / 0.7826 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0826/2.047, allocations: 53.04 MB / 0.8344 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006754/2.054, allocations: 6.231 MB / 0.8405 GB, free: 110.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00461/2.059, allocations: 1.882 MB / 0.8423 GB, free: 108.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003884/2.063, allocations: 3.252 MB / 0.8455 GB, free: 105 MB / 0.5138 GB Notification: Performance of SimCode: time 1.393e-06/2.063, allocations: 0 / 0.8455 GB, free: 105 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4606/2.523, allocations: 120.9 MB / 0.9635 GB, free: 149.6 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.55/21.07, allocations: 7.203 kB / 0.9635 GB, free: 149.6 MB / 0.5138 GB (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