Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.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_Characteristics,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001144/0.001144, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.2 kB / 307.1 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09212, allocations: 50.53 MB / 357.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.1837/0.2758, allocations: 24.79 MB / 382.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.291, allocations: 7.459 MB / 389.9 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005645/0.2966, allocations: 186 kB / 390 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01859/0.3153, allocations: 8.787 MB / 398.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.3259, allocations: 2.908 MB / 401.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005516/0.3315, allocations: 1.731 MB / 403.5 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01339/0.3449, allocations: 10.75 MB / 414.2 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.038/0.3829, allocations: 21.93 MB / 436.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.3929, allocations: 5.693 MB / 441.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009994/0.403, allocations: 6.323 MB / 448.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004079/0.4071, allocations: 1.668 MB / 449.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006328/0.4134, allocations: 2.066 MB / 451.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004276/0.4177, allocations: 3.168 MB / 455.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009689/0.4274, allocations: 6.094 MB / 461.2 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02467/0.4521, allocations: 22.24 MB / 483.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4522, allocations: 0 / 483.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4522, allocations: 0 / 483.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006182/0.4528, allocations: 0 / 483.4 MB, free: 13.83 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.03727/0.4901, allocations: 12.81 MB / 496.2 MB, free: 0.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4901, allocations: 15.97 kB / 496.2 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00459/0.4947, allocations: 1.544 MB / 497.8 MB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03481/0.5296, allocations: 6.162 MB / 0.4921 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/0.5432, allocations: 6.729 MB / 0.4987 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006699/0.5439, allocations: 0.6986 MB / 0.4994 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003348/0.5472, allocations: 0.9334 MB / 0.5003 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03068/0.5779, allocations: 15.75 MB / 0.5157 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002101/0.5782, allocations: 7.906 kB / 0.5157 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/0.5799, allocations: 399.9 kB / 0.5161 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004938/0.5804, allocations: 0.5471 MB / 0.5166 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02952/0.6099, allocations: 14.76 MB / 0.531 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3878/0.9978, allocations: 52.69 MB / 0.5825 GB, free: 93.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/1.016, allocations: 26.46 MB / 0.6083 GB, free: 67.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004594/1.021, allocations: 3.222 MB / 0.6114 GB, free: 66.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/1.021, allocations: 249.8 kB / 0.6117 GB, free: 65.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.021, allocations: 77 kB / 0.6118 GB, free: 65.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 5.621e-06/1.021, allocations: 0 / 0.6118 GB, free: 65.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=404): time 0.0341/1.055, allocations: 17.29 MB / 0.6286 GB, free: 49.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.055, allocations: 94.58 kB / 0.6287 GB, free: 49.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/1.06, allocations: 3.692 MB / 0.6323 GB, free: 45.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004711/1.06, allocations: 93.7 kB / 0.6324 GB, free: 45.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/1.062, allocations: 3.984 MB / 0.6363 GB, free: 41.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.063, allocations: 1.381 MB / 0.6377 GB, free: 40.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/1.065, allocations: 1.14 MB / 0.6388 GB, free: 39.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/1.065, allocations: 305.1 kB / 0.6391 GB, free: 39.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/1.068, allocations: 2.791 MB / 0.6418 GB, free: 36.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00453/1.073, allocations: 4.957 MB / 0.6466 GB, free: 30.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008022/1.081, allocations: 8.31 MB / 0.6548 GB, free: 20.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.143e-05/1.081, allocations: 20 kB / 0.6548 GB, free: 20.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01294/1.094, allocations: 9.091 MB / 0.6637 GB, free: 11.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/1.094, allocations: 36.52 kB / 0.6637 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.37e-05/1.094, allocations: 72 kB / 0.6638 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/1.097, allocations: 1.238 MB / 0.665 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/1.102, allocations: 1.322 MB / 0.6663 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.115, allocations: 9.92 MB / 0.6759 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00448/1.119, allocations: 335.4 kB / 0.6763 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000889/1.12, allocations: 283.9 kB / 0.6765 GB, free: 14.49 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (694): * Single equations (assignments): 692 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006225/1.126, allocations: 3.708 MB / 0.6802 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009695/1.127, allocations: 399.1 kB / 0.6805 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/1.139, allocations: 6.705 MB / 0.6871 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00927/1.148, allocations: 5.591 MB / 0.6925 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/1.148, allocations: 16 kB / 0.6926 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.886e-05/1.148, allocations: 23.91 kB / 0.6926 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2144/1.363, allocations: 16.1 MB / 0.7083 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/1.363, allocations: 5.031 kB / 0.7083 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/1.366, allocations: 0.7228 MB / 0.709 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/1.369, allocations: 1.126 MB / 0.7101 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004562/1.37, allocations: 92.83 kB / 0.7102 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/1.383, allocations: 8.853 MB / 0.7188 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/1.383, allocations: 8.969 kB / 0.7189 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/1.399, allocations: 9.848 MB / 0.7285 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/1.402, allocations: 0.9506 MB / 0.7294 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008506/1.403, allocations: 79.69 kB / 0.7295 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003171/1.406, allocations: 202.9 kB / 0.7297 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006594/1.407, allocations: 288.2 kB / 0.7299 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/1.407, allocations: 116.2 kB / 0.7301 GB, free: 138.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00308/1.41, allocations: 2.496 MB / 0.7325 GB, free: 137.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.41, allocations: 0 / 0.7325 GB, free: 137.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004714/1.415, allocations: 1.617 MB / 0.7341 GB, free: 137.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (389): * Single equations (assignments): 387 * 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,40.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01299/1.428, allocations: 10.58 MB / 0.7444 GB, free: 132.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02781/1.455, allocations: 13.66 MB / 0.7577 GB, free: 122.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.455, allocations: 3.844 kB / 0.7578 GB, free: 122.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007621/1.463, allocations: 3.383 MB / 0.7611 GB, free: 119.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0069/1.47, allocations: 0.9719 MB / 0.762 GB, free: 118.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07389/1.544, allocations: 62.59 MB / 0.8231 GB, free: 53.78 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004955/1.549, allocations: 6.191 MB / 0.8292 GB, free: 47.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004766/1.554, allocations: 1.916 MB / 0.831 GB, free: 45.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003371/1.557, allocations: 3.303 MB / 0.8343 GB, free: 42.32 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/1.557, allocations: 0 / 0.8343 GB, free: 42.32 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3321/1.889, allocations: 128.6 MB / 0.9599 GB, free: 102.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/13.76, allocations: 16.38 kB / 0.9599 GB, free: 102.8 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Characteristics/IMC_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches