Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 55.91 kB / 365.7 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1147, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02864/0.1433, allocations: 24.87 MB / 442.7 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2629/0.4062, allocations: 7.366 MB / 450 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006744/0.4129, allocations: 190.4 kB / 450.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02115/0.4341, allocations: 8.875 MB / 459.1 MB, free: 7.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.4466, allocations: 2.969 MB / 462.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007203/0.4538, allocations: 1.723 MB / 463.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01817/0.472, allocations: 10.73 MB / 474.5 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03876/0.5107, allocations: 16.61 MB / 491.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01349/0.5242, allocations: 5.734 MB / 496.9 MB, free: 4.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01405/0.5383, allocations: 6.31 MB / 0.4914 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00597/0.5443, allocations: 1.668 MB / 0.493 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00941/0.5537, allocations: 2.027 MB / 0.495 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006361/0.56, allocations: 3.166 MB / 0.4981 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01498/0.575, allocations: 6.092 MB / 0.504 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03432/0.6093, allocations: 22.37 MB / 0.5259 GB, free: 11.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.6093, allocations: 4 kB / 0.5259 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6093, allocations: 3.938 kB / 0.5259 GB, free: 11.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007452/0.6101, allocations: 0 / 0.5259 GB, free: 11.02 MB / 430.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.04591/0.656, allocations: 12.94 MB / 0.5385 GB, free: 14.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.656, allocations: 8.031 kB / 0.5385 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006803/0.6628, allocations: 1.55 MB / 0.5401 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03683/0.6997, allocations: 6.241 MB / 0.5462 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01946/0.7191, allocations: 6.927 MB / 0.5529 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008669/0.72, allocations: 0.7016 MB / 0.5536 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004737/0.7247, allocations: 0.9216 MB / 0.5545 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04502/0.7698, allocations: 15.75 MB / 0.5699 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000368/0.7701, allocations: 11.95 kB / 0.5699 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003357/0.7735, allocations: 389.8 kB / 0.5703 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007068/0.7742, allocations: 0.5508 MB / 0.5708 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03515/0.8093, allocations: 14.77 MB / 0.5852 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.541/1.35, allocations: 51.14 MB / 0.6352 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02163/1.372, allocations: 26.07 MB / 0.6606 GB, free: 108 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005568/1.378, allocations: 2.93 MB / 0.6635 GB, free: 108 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00039/1.378, allocations: 161.9 kB / 0.6636 GB, free: 107.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/1.378, allocations: 75.83 kB / 0.6637 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 6.873e-06/1.378, allocations: 0 / 0.6637 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.03567/1.414, allocations: 17.38 MB / 0.6807 GB, free: 106.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/1.414, allocations: 98.08 kB / 0.6808 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005365/1.419, allocations: 3.694 MB / 0.6844 GB, free: 105.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006336/1.42, allocations: 88.48 kB / 0.6845 GB, free: 105.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002427/1.422, allocations: 4.123 MB / 0.6885 GB, free: 102.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.423, allocations: 1.446 MB / 0.6899 GB, free: 101.6 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00155/1.425, allocations: 1.137 MB / 0.691 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.657e-05/1.425, allocations: 302.9 kB / 0.6913 GB, free: 100.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/1.428, allocations: 2.8 MB / 0.694 GB, free: 99.68 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004343/1.433, allocations: 4.959 MB / 0.6989 GB, free: 95.83 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009953/1.443, allocations: 8.307 MB / 0.707 GB, free: 90.19 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001737/1.443, allocations: 22.91 kB / 0.707 GB, free: 90.19 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01556/1.459, allocations: 9.075 MB / 0.7159 GB, free: 85.68 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.589e-05/1.459, allocations: 39.47 kB / 0.7159 GB, free: 85.67 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.459, allocations: 70.16 kB / 0.716 GB, free: 85.67 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/1.462, allocations: 1.228 MB / 0.7172 GB, free: 85.15 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004681/1.467, allocations: 1.322 MB / 0.7185 GB, free: 84.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/1.48, allocations: 9.928 MB / 0.7282 GB, free: 78.12 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004545/1.484, allocations: 335.3 kB / 0.7285 GB, free: 77.91 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.486, allocations: 284 kB / 0.7288 GB, free: 77.64 MB / 0.5138 GB 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.006509/1.492, allocations: 3.709 MB / 0.7324 GB, free: 73.91 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009807/1.493, allocations: 425.2 kB / 0.7328 GB, free: 73.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009921/1.503, allocations: 6.658 MB / 0.7393 GB, free: 66.81 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007629/1.511, allocations: 5.56 MB / 0.7447 GB, free: 61.22 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/1.511, allocations: 12 kB / 0.7447 GB, free: 61.21 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-05/1.511, allocations: 21.45 kB / 0.7448 GB, free: 61.19 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02525/1.536, allocations: 15.74 MB / 0.7601 GB, free: 45.39 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.536, allocations: 5.688 kB / 0.7601 GB, free: 45.39 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/1.538, allocations: 0.7184 MB / 0.7608 GB, free: 44.67 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002747/1.541, allocations: 1.118 MB / 0.7619 GB, free: 43.54 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/1.542, allocations: 91.97 kB / 0.762 GB, free: 43.45 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/1.552, allocations: 8.852 MB / 0.7707 GB, free: 34.47 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.552, allocations: 7.938 kB / 0.7707 GB, free: 34.46 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.565, allocations: 9.839 MB / 0.7803 GB, free: 24.52 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002601/1.568, allocations: 0.9784 MB / 0.7812 GB, free: 23.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000833/1.568, allocations: 79.98 kB / 0.7813 GB, free: 23.44 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.571, allocations: 199.8 kB / 0.7815 GB, free: 23.24 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005647/1.571, allocations: 283.3 kB / 0.7818 GB, free: 22.96 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000236/1.571, allocations: 124 kB / 0.7819 GB, free: 22.84 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003525/1.575, allocations: 2.491 MB / 0.7843 GB, free: 20.36 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7e-08/1.575, allocations: 0 / 0.7843 GB, free: 20.36 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007033/1.582, allocations: 1.614 MB / 0.7859 GB, free: 18.75 MB / 0.5138 GB 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.01331/1.595, allocations: 10.57 MB / 0.7962 GB, free: 8.07 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.606, allocations: 6.853 MB / 0.8029 GB, free: 1.207 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.606, allocations: 4 kB / 0.8029 GB, free: 1.203 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006029/1.612, allocations: 3.18 MB / 0.806 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.617, allocations: 0.9659 MB / 0.807 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3264/1.943, allocations: 54.31 MB / 0.86 GB, free: 164.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008341/1.952, allocations: 6.188 MB / 0.866 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005272/1.957, allocations: 1.91 MB / 0.8679 GB, free: 162.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005422/1.962, allocations: 3.301 MB / 0.8711 GB, free: 159.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.924e-06/1.962, allocations: 0 / 0.8711 GB, free: 159.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3988/2.361, allocations: 128.2 MB / 0.9963 GB, free: 44.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.53/20.89, allocations: 0 / 0.9963 GB, free: 44.05 MB / 0.545 GB " [Timeout remaining time 639] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 24.079442689660937]