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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 132.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 75.88 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.126, allocations: 53.38 MB / 426.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.2212/0.3472, allocations: 24.9 MB / 451.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01919/0.3664, allocations: 7.47 MB / 458.8 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007658/0.374, allocations: 227.3 kB / 459 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02231/0.3963, allocations: 8.881 MB / 467.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.4075, allocations: 2.958 MB / 470.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006074/0.4135, allocations: 1.736 MB / 472.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01711/0.4306, allocations: 10.82 MB / 483.4 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03004/0.4607, allocations: 16.58 MB / 500 MB, free: 7.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01377/0.4744, allocations: 5.814 MB / 0.4939 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/0.49, allocations: 6.347 MB / 0.5001 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005259/0.4953, allocations: 1.672 MB / 0.5018 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007516/0.5028, allocations: 2.05 MB / 0.5038 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00615/0.5089, allocations: 3.172 MB / 0.5069 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01351/0.5224, allocations: 6.09 MB / 0.5128 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03379/0.5562, allocations: 22.39 MB / 0.5347 GB, free: 7.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.5562, allocations: 4 kB / 0.5347 GB, free: 7.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5562, allocations: 0 / 0.5347 GB, free: 7.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006611/0.5569, allocations: 0 / 0.5347 GB, free: 7.375 MB / 446.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.04647/0.6034, allocations: 12.97 MB / 0.5473 GB, free: 10.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.6034, allocations: 19.97 kB / 0.5474 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006653/0.6101, allocations: 1.544 MB / 0.5489 GB, free: 8.719 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03762/0.6477, allocations: 6.175 MB / 0.5549 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.6635, allocations: 6.95 MB / 0.5617 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008402/0.6643, allocations: 0.6985 MB / 0.5624 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004447/0.6688, allocations: 0.9257 MB / 0.5633 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04591/0.7147, allocations: 15.78 MB / 0.5787 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003795/0.7151, allocations: 15.89 kB / 0.5787 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003845/0.7189, allocations: 388 kB / 0.5791 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000723/0.7196, allocations: 0.5508 MB / 0.5796 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03567/0.7553, allocations: 14.82 MB / 0.5941 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5085/1.264, allocations: 52.18 MB / 0.645 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02384/1.288, allocations: 26.1 MB / 0.6705 GB, free: 102.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005702/1.293, allocations: 2.934 MB / 0.6734 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/1.294, allocations: 276.1 kB / 0.6736 GB, free: 100.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/1.294, allocations: 71.5 kB / 0.6737 GB, free: 100.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 1.062e-05/1.294, allocations: 4.594 kB / 0.6737 GB, free: 100.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=404): time 0.04188/1.336, allocations: 17.42 MB / 0.6907 GB, free: 92.86 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/1.336, allocations: 96.2 kB / 0.6908 GB, free: 92.79 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/1.343, allocations: 3.702 MB / 0.6944 GB, free: 90.86 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007636/1.344, allocations: 89.05 kB / 0.6945 GB, free: 90.78 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002513/1.346, allocations: 4.125 MB / 0.6986 GB, free: 87.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001442/1.348, allocations: 1.458 MB / 0.7 GB, free: 86.45 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002867/1.351, allocations: 1.149 MB / 0.7011 GB, free: 85.79 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/1.351, allocations: 301.1 kB / 0.7014 GB, free: 85.49 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004254/1.355, allocations: 2.798 MB / 0.7041 GB, free: 83.97 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005431/1.36, allocations: 4.959 MB / 0.709 GB, free: 79.59 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009573/1.37, allocations: 8.332 MB / 0.7171 GB, free: 72.59 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/1.37, allocations: 20 kB / 0.7171 GB, free: 72.57 MB / 0.5138 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01608/1.386, allocations: 9.098 MB / 0.726 GB, free: 63.45 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.386, allocations: 36.53 kB / 0.726 GB, free: 63.41 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/1.386, allocations: 72 kB / 0.7261 GB, free: 63.34 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0034/1.39, allocations: 1.23 MB / 0.7273 GB, free: 62.11 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004926/1.395, allocations: 1.326 MB / 0.7286 GB, free: 60.78 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/1.409, allocations: 9.924 MB / 0.7383 GB, free: 50.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005066/1.414, allocations: 327.5 kB / 0.7386 GB, free: 50.41 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.415, allocations: 292 kB / 0.7389 GB, free: 50.12 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.007298/1.422, allocations: 3.701 MB / 0.7425 GB, free: 46.41 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/1.424, allocations: 421.3 kB / 0.7429 GB, free: 45.99 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/1.437, allocations: 6.669 MB / 0.7494 GB, free: 39.29 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009265/1.446, allocations: 5.579 MB / 0.7549 GB, free: 33.68 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.369e-05/1.446, allocations: 12 kB / 0.7549 GB, free: 33.67 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/1.446, allocations: 19.92 kB / 0.7549 GB, free: 33.65 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03076/1.477, allocations: 15.76 MB / 0.7703 GB, free: 17.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/1.477, allocations: 4 kB / 0.7703 GB, free: 17.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00298/1.48, allocations: 0.7261 MB / 0.771 GB, free: 17.07 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003285/1.483, allocations: 1.117 MB / 0.7721 GB, free: 15.95 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000625/1.484, allocations: 91.97 kB / 0.7722 GB, free: 15.86 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/1.496, allocations: 8.854 MB / 0.7808 GB, free: 6.875 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/1.496, allocations: 11.94 kB / 0.7808 GB, free: 6.863 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/1.514, allocations: 9.857 MB / 0.7905 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003278/1.517, allocations: 0.9821 MB / 0.7914 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.519, allocations: 76 kB / 0.7915 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003168/1.522, allocations: 207.8 kB / 0.7917 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/1.523, allocations: 283.3 kB / 0.792 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005725/1.523, allocations: 132 kB / 0.7921 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006006/1.529, allocations: 2.491 MB / 0.7945 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.529, allocations: 4 kB / 0.7945 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008066/1.537, allocations: 1.609 MB / 0.7961 GB, free: 7.113 MB / 0.5294 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.02102/1.558, allocations: 10.59 MB / 0.8064 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01578/1.574, allocations: 6.87 MB / 0.8131 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.574, allocations: 1 kB / 0.8131 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008032/1.582, allocations: 3.182 MB / 0.8163 GB, free: 2.336 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007764/1.59, allocations: 0.9747 MB / 0.8172 GB, free: 1.391 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3293/1.919, allocations: 54.26 MB / 0.8702 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005971/1.925, allocations: 6.188 MB / 0.8762 GB, free: 169.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004286/1.93, allocations: 1.909 MB / 0.8781 GB, free: 169.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003631/1.933, allocations: 3.32 MB / 0.8813 GB, free: 166.5 MB / 0.5607 GB Notification: Performance of SimCode: time 9.72e-07/1.933, allocations: 4 kB / 0.8814 GB, free: 166.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.175/2.108, allocations: 128.5 MB / 1.007 GB, free: 42.04 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.46/21.57, allocations: 3.781 kB / 1.007 GB, free: 42.03 MB / 0.5607 GB " [Timeout remaining time 638] (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) [Timeout 52.5] 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.1.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) [Timeout 660] "Error: Could not read variable imcQS.rotorCage.port_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable imcQS.rotorCage.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.203620261047035]