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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 106.9 kB / 21.96 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 218 kB / 25.26 MB, free: 2.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 51.94 kB / 348 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2663, allocations: 49.15 MB / 397.2 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02413/0.2904, allocations: 21.41 MB / 418.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01929/0.3097, allocations: 7.066 MB / 425.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005934/0.3157, allocations: 188.3 kB / 425.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02124/0.3369, allocations: 8.229 MB / 434.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01364/0.3505, allocations: 3.02 MB / 437.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006569/0.3571, allocations: 1.743 MB / 438.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01717/0.3743, allocations: 10.98 MB / 449.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03325/0.4075, allocations: 14.42 MB / 464.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01232/0.4199, allocations: 5.943 MB / 470.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.4314, allocations: 6.432 MB / 476.6 MB, free: 3.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005028/0.4364, allocations: 1.68 MB / 478.3 MB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006838/0.4433, allocations: 2.046 MB / 480.3 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005786/0.449, allocations: 3.23 MB / 483.5 MB, free: 12.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01118/0.4602, allocations: 4.783 MB / 488.3 MB, free: 7.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02856/0.4888, allocations: 22.52 MB / 0.4989 GB, free: 1.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4888, allocations: 0 / 0.4989 GB, free: 1.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4888, allocations: 3.938 kB / 0.4989 GB, free: 1.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004765/0.4893, allocations: 0 / 0.4989 GB, free: 1.004 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.03716/0.5264, allocations: 13.05 MB / 0.5116 GB, free: 3.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.5265, allocations: 15.98 kB / 0.5116 GB, free: 3.844 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003293/0.5268, allocations: 297.1 kB / 0.5119 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005188/0.532, allocations: 1.581 MB / 0.5135 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03939/0.5714, allocations: 7.235 MB / 0.5205 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/0.586, allocations: 6.235 MB / 0.5266 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000932/0.5869, allocations: 0.7144 MB / 0.5273 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005099/0.592, allocations: 0.9374 MB / 0.5282 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0463/0.6383, allocations: 16.36 MB / 0.5442 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004817/0.6388, allocations: 19.94 kB / 0.5442 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003823/0.6426, allocations: 396 kB / 0.5446 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008665/0.6435, allocations: 0.5825 MB / 0.5452 GB, free: 1.305 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03993/0.6834, allocations: 15.47 MB / 0.5603 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4511/1.134, allocations: 46.6 MB / 0.6058 GB, free: 103.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01584/1.15, allocations: 10.96 MB / 0.6165 GB, free: 98.72 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003825/1.154, allocations: 3.09 MB / 0.6195 GB, free: 95.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/1.167, allocations: 9.084 MB / 0.6284 GB, free: 86.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/1.167, allocations: 64.91 kB / 0.6284 GB, free: 86.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=299): time 6.072e-06/1.167, allocations: 0 / 0.6284 GB, free: 86.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=366): time 0.04445/1.211, allocations: 24.49 MB / 0.6523 GB, free: 62.51 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.211, allocations: 90.28 kB / 0.6524 GB, free: 62.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/1.215, allocations: 3.859 MB / 0.6562 GB, free: 58.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003757/1.216, allocations: 85.7 kB / 0.6563 GB, free: 58.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/1.218, allocations: 4.416 MB / 0.6606 GB, free: 54.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008701/1.218, allocations: 1.321 MB / 0.6619 GB, free: 53.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/1.22, allocations: 1.18 MB / 0.663 GB, free: 51.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.231e-05/1.22, allocations: 309.1 kB / 0.6633 GB, free: 51.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/1.223, allocations: 2.955 MB / 0.6662 GB, free: 48.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004067/1.227, allocations: 5.378 MB / 0.6715 GB, free: 42.13 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008085/1.235, allocations: 8.862 MB / 0.6801 GB, free: 32.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.672e-05/1.235, allocations: 20 kB / 0.6801 GB, free: 32.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01539/1.251, allocations: 10.49 MB / 0.6904 GB, free: 21.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/1.251, allocations: 36 kB / 0.6904 GB, free: 21.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/1.251, allocations: 80 kB / 0.6905 GB, free: 21.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005805/1.257, allocations: 2.481 MB / 0.6929 GB, free: 18.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/1.261, allocations: 1.232 MB / 0.6941 GB, free: 17.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02407/1.285, allocations: 20.17 MB / 0.7138 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004192/1.289, allocations: 343.6 kB / 0.7142 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008413/1.29, allocations: 311.9 kB / 0.7145 GB, free: 12.67 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 (644): * Single equations (assignments): 641 * 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 {(14,44,41.8%), (14,44,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006371/1.296, allocations: 3.806 MB / 0.7182 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.297, allocations: 425.2 kB / 0.7186 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/1.312, allocations: 7.684 MB / 0.7261 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01269/1.324, allocations: 6.507 MB / 0.7324 GB, free: 10.16 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.375e-05/1.324, allocations: 20 kB / 0.7325 GB, free: 10.14 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.006e-05/1.324, allocations: 27.86 kB / 0.7325 GB, free: 10.11 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03463/1.359, allocations: 16.03 MB / 0.7481 GB, free: 9.949 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.359, allocations: 4 kB / 0.7481 GB, free: 9.945 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.362, allocations: 0.5734 MB / 0.7487 GB, free: 9.371 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0064/1.368, allocations: 2.194 MB / 0.7508 GB, free: 7.172 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007196/1.369, allocations: 79.98 kB / 0.7509 GB, free: 7.094 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2381/1.607, allocations: 16.85 MB / 0.7674 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.996e-06/1.607, allocations: 10.66 kB / 0.7674 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/1.626, allocations: 10.98 MB / 0.7781 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00282/1.628, allocations: 0.9489 MB / 0.779 GB, free: 159.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.63, allocations: 69.25 kB / 0.7791 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/1.632, allocations: 200.2 kB / 0.7793 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009095/1.633, allocations: 299.5 kB / 0.7796 GB, free: 159 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/1.633, allocations: 111.7 kB / 0.7797 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003594/1.637, allocations: 2.588 MB / 0.7822 GB, free: 158 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.5e-07/1.637, allocations: 0 / 0.7822 GB, free: 158 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006554/1.644, allocations: 1.723 MB / 0.7839 GB, free: 157.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (imcQS.stator.strayReluctance.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 (294): * Single equations (assignments): 291 * 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 {(14,38,39.8%), (14,44,40.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01751/1.661, allocations: 11.67 MB / 0.7953 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01406/1.675, allocations: 7.958 MB / 0.8031 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/1.675, allocations: 0 / 0.8031 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008483/1.684, allocations: 3.954 MB / 0.8069 GB, free: 143 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007249/1.691, allocations: 0.9655 MB / 0.8079 GB, free: 142.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09899/1.79, allocations: 58.6 MB / 0.8651 GB, free: 81.41 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007088/1.797, allocations: 5.931 MB / 0.8709 GB, free: 75.44 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004115/1.801, allocations: 1.896 MB / 0.8727 GB, free: 73.54 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003461/1.804, allocations: 3.338 MB / 0.876 GB, free: 70.2 MB / 0.5138 GB Notification: Performance of SimCode: time 1.022e-06/1.804, allocations: 0 / 0.876 GB, free: 70.2 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3583/2.163, allocations: 143.2 MB / 1.016 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.04/22.21, allocations: 7.062 kB / 1.016 GB, free: 140.8 MB / 0.5294 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_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_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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 25.762943053035997]