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.001844/0.001844, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001926/0.001926, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.64/1.64, 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.00178/0.001781, allocations: 56.3 kB / 328.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1127, allocations: 46.63 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.281/0.3937, allocations: 24.89 MB / 399.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02176/0.4155, allocations: 7.349 MB / 406.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008788/0.4244, allocations: 157 kB / 407.1 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02571/0.4502, allocations: 8.784 MB / 415.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.4648, allocations: 2.977 MB / 418.8 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007463/0.4723, allocations: 1.729 MB / 420.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02264/0.495, allocations: 10.86 MB / 431.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05491/0.5499, allocations: 21.87 MB / 453.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01747/0.5675, allocations: 5.782 MB / 459.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0194/0.5869, allocations: 6.35 MB / 465.4 MB, free: 5.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007285/0.5943, allocations: 1.68 MB / 467.1 MB, free: 3.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.6059, allocations: 2.035 MB / 469.2 MB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008807/0.6148, allocations: 3.215 MB / 472.4 MB, free: 14.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01584/0.6307, allocations: 6.184 MB / 478.6 MB, free: 7.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03529/0.666, allocations: 22.42 MB / 0.4892 GB, free: 1.387 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.6661, allocations: 0 / 0.4892 GB, free: 1.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6661, allocations: 3.938 kB / 0.4892 GB, free: 1.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006233/0.6667, allocations: 0 / 0.4892 GB, free: 1.383 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.04528/0.712, allocations: 13.13 MB / 0.5021 GB, free: 4.141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.7121, allocations: 12.03 kB / 0.5021 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006924/0.719, allocations: 1.581 MB / 0.5036 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0426/0.7617, allocations: 7.239 MB / 0.5107 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/0.7773, allocations: 6.174 MB / 0.5167 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008647/0.7782, allocations: 0.7105 MB / 0.5174 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005298/0.7835, allocations: 0.9413 MB / 0.5183 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04816/0.8317, allocations: 16.2 MB / 0.5341 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005675/0.8323, allocations: 15.91 kB / 0.5342 GB, free: 3.117 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003897/0.8362, allocations: 400 kB / 0.5345 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007931/0.837, allocations: 0.5825 MB / 0.5351 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04074/0.8778, allocations: 15.46 MB / 0.5502 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3516/1.229, allocations: 52.36 MB / 0.6013 GB, free: 105.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02683/1.256, allocations: 35.49 MB / 0.636 GB, free: 71.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005605/1.262, allocations: 3.39 MB / 0.6393 GB, free: 69.35 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01831/1.28, allocations: 10.06 MB / 0.6491 GB, free: 61.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/1.28, allocations: 72.77 kB / 0.6492 GB, free: 61.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=297): time 4.829e-06/1.28, allocations: 0 / 0.6492 GB, free: 61.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=303): time 0.03651/1.317, allocations: 15.47 MB / 0.6643 GB, free: 45.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.317, allocations: 85.72 kB / 0.6644 GB, free: 45.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005828/1.323, allocations: 3.868 MB / 0.6682 GB, free: 41.53 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007189/1.324, allocations: 73.7 kB / 0.6682 GB, free: 41.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001933/1.326, allocations: 4.411 MB / 0.6725 GB, free: 37.03 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001238/1.327, allocations: 1.109 MB / 0.6736 GB, free: 35.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00155/1.328, allocations: 1.104 MB / 0.6747 GB, free: 34.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.338e-05/1.328, allocations: 301.1 kB / 0.675 GB, free: 34.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/1.332, allocations: 2.552 MB / 0.6775 GB, free: 31.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004492/1.336, allocations: 4.908 MB / 0.6823 GB, free: 25.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008721/1.345, allocations: 7.949 MB / 0.69 GB, free: 16.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-05/1.345, allocations: 24 kB / 0.6901 GB, free: 16.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01547/1.361, allocations: 8.665 MB / 0.6985 GB, free: 8.117 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/1.361, allocations: 40 kB / 0.6986 GB, free: 8.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/1.361, allocations: 80 kB / 0.6986 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003312/1.364, allocations: 1.253 MB / 0.6999 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004548/1.369, allocations: 1.221 MB / 0.7011 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/1.384, allocations: 9.963 MB / 0.7108 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005126/1.389, allocations: 331.6 kB / 0.7111 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/1.39, allocations: 284 kB / 0.7114 GB, free: 10.82 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.009042/1.399, allocations: 3.729 MB / 0.715 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.401, allocations: 397.5 kB / 0.7154 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/1.413, allocations: 5.803 MB / 0.7211 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01001/1.423, allocations: 4.778 MB / 0.7257 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.464e-05/1.423, allocations: 8 kB / 0.7257 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.51e-05/1.423, allocations: 11.95 kB / 0.7257 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03065/1.454, allocations: 13.71 MB / 0.7391 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/1.454, allocations: 7.938 kB / 0.7391 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/1.457, allocations: 0.5539 MB / 0.7397 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00367/1.46, allocations: 1.117 MB / 0.7408 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005814/1.461, allocations: 67.98 kB / 0.7408 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/1.477, allocations: 8.849 MB / 0.7495 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.477, allocations: 11.94 kB / 0.7495 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2647/1.742, allocations: 8.514 MB / 0.7578 GB, free: 173.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/1.744, allocations: 0.8878 MB / 0.7587 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009449/1.745, allocations: 60.59 kB / 0.7587 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/1.748, allocations: 183.7 kB / 0.7589 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00062/1.748, allocations: 224.8 kB / 0.7591 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/1.749, allocations: 95.38 kB / 0.7592 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004875/1.754, allocations: 2.587 MB / 0.7617 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/1.754, allocations: 0.9688 kB / 0.7617 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007449/1.761, allocations: 1.551 MB / 0.7632 GB, free: 172.9 MB / 0.5137 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.01746/1.778, allocations: 9.226 MB / 0.7723 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.791, allocations: 6.54 MB / 0.7786 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.791, allocations: 1 kB / 0.7786 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006706/1.798, allocations: 2.972 MB / 0.7815 GB, free: 165 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006972/1.805, allocations: 0.9432 MB / 0.7825 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1067/1.912, allocations: 53.05 MB / 0.8343 GB, free: 119.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01118/1.923, allocations: 6.224 MB / 0.8404 GB, free: 113.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005739/1.929, allocations: 1.882 MB / 0.8422 GB, free: 111.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007142/1.936, allocations: 3.256 MB / 0.8454 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of SimCode: time 4.439e-06/1.936, allocations: 0.7656 kB / 0.8454 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4163/2.352, allocations: 120.9 MB / 0.9634 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.68/21.03, allocations: 3.109 kB / 0.9634 GB, free: 161.2 MB / 0.5137 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