Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001837/0.001837, allocations: 123.6 kB / 20.44 MB, free: 1.297 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.00222/0.00222, allocations: 212.7 kB / 23.74 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_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_1_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.001592/0.001592, allocations: 51.91 kB / 377.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2611, allocations: 53.36 MB / 431.2 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03042/0.2915, allocations: 24.96 MB / 456.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01684/0.3084, allocations: 7.5 MB / 463.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005868/0.3142, allocations: 222.9 kB / 463.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02224/0.3365, allocations: 8.91 MB / 472.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.3483, allocations: 3.049 MB / 475.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006045/0.3544, allocations: 1.775 MB / 477.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01769/0.3721, allocations: 10.96 MB / 488.5 MB, free: 13.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02703/0.3991, allocations: 14.35 MB / 0.4911 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009952/0.409, allocations: 5.88 MB / 0.4968 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01189/0.4209, allocations: 6.374 MB / 0.5031 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005089/0.426, allocations: 1.668 MB / 0.5047 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007809/0.4338, allocations: 2.058 MB / 0.5067 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006388/0.4402, allocations: 3.168 MB / 0.5098 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01321/0.4534, allocations: 6.094 MB / 0.5158 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5454/0.9989, allocations: 22.39 MB / 0.5376 GB, free: 39.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.9989, allocations: 6.531 kB / 0.5376 GB, free: 39.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.9989, allocations: 0.7188 kB / 0.5376 GB, free: 39.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007216/0.9996, allocations: 0.75 kB / 0.5376 GB, free: 39.73 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.04198/1.042, allocations: 12.88 MB / 0.5502 GB, free: 36.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.042, allocations: 11.53 kB / 0.5502 GB, free: 36.4 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006653/1.048, allocations: 1.555 MB / 0.5517 GB, free: 36.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0364/1.085, allocations: 6.179 MB / 0.5578 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/1.102, allocations: 7.018 MB / 0.5646 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007933/1.103, allocations: 0.6959 MB / 0.5653 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004301/1.107, allocations: 0.9201 MB / 0.5662 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03966/1.147, allocations: 15.79 MB / 0.5816 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004694/1.147, allocations: 19.89 kB / 0.5816 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0039/1.151, allocations: 385.5 kB / 0.582 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005302/1.152, allocations: 0.5508 MB / 0.5825 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03151/1.183, allocations: 14.81 MB / 0.597 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.123/1.306, allocations: 49.92 MB / 0.6457 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02039/1.327, allocations: 9.314 MB / 0.6548 GB, free: 12.42 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005536/1.332, allocations: 2.935 MB / 0.6577 GB, free: 9.492 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004247/1.333, allocations: 119 kB / 0.6578 GB, free: 9.398 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.473e-05/1.333, allocations: 77.67 kB / 0.6579 GB, free: 9.312 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 5.481e-06/1.333, allocations: 0 / 0.6579 GB, free: 9.312 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.06875/1.402, allocations: 17.27 MB / 0.6748 GB, free: 8.066 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.402, allocations: 90.58 kB / 0.6748 GB, free: 7.965 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/1.412, allocations: 3.704 MB / 0.6785 GB, free: 4.262 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008749/1.413, allocations: 85.7 kB / 0.6785 GB, free: 4.172 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004586/1.417, allocations: 4.123 MB / 0.6826 GB, free: 40 kB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002062/1.419, allocations: 1.451 MB / 0.684 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/1.422, allocations: 1.152 MB / 0.6851 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.422, allocations: 305.1 kB / 0.6854 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005001/1.427, allocations: 2.795 MB / 0.6881 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007339/1.434, allocations: 4.964 MB / 0.693 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/1.447, allocations: 8.329 MB / 0.7011 GB, free: 11.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.337e-05/1.447, allocations: 24 kB / 0.7011 GB, free: 11.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01909/1.466, allocations: 9.1 MB / 0.71 GB, free: 2.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/1.467, allocations: 36 kB / 0.7101 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/1.467, allocations: 68.53 kB / 0.7101 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003766/1.47, allocations: 1.232 MB / 0.7113 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005821/1.476, allocations: 1.333 MB / 0.7126 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/1.494, allocations: 9.811 MB / 0.7222 GB, free: 6.242 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00456/1.498, allocations: 331.5 kB / 0.7225 GB, free: 5.918 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000876/1.499, allocations: 288 kB / 0.7228 GB, free: 5.637 MB / 0.5607 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.007777/1.507, allocations: 3.706 MB / 0.7264 GB, free: 2.008 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.508, allocations: 421.3 kB / 0.7268 GB, free: 1.594 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.521, allocations: 6.661 MB / 0.7333 GB, free: 10.94 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01126/1.533, allocations: 5.58 MB / 0.7388 GB, free: 5.367 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-05/1.533, allocations: 8 kB / 0.7388 GB, free: 5.359 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.636e-05/1.533, allocations: 23.91 kB / 0.7388 GB, free: 5.336 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03333/1.566, allocations: 15.79 MB / 0.7542 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.566, allocations: 6.188 kB / 0.7542 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/1.569, allocations: 0.7205 MB / 0.7549 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003298/1.573, allocations: 1.115 MB / 0.756 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004508/1.573, allocations: 99.97 kB / 0.7561 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2496/1.823, allocations: 8.742 MB / 0.7647 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.823, allocations: 4.781 kB / 0.7647 GB, free: 224.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.837, allocations: 9.872 MB / 0.7743 GB, free: 220.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002654/1.84, allocations: 0.9169 MB / 0.7752 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007854/1.841, allocations: 79.44 kB / 0.7753 GB, free: 220 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.843, allocations: 197.2 kB / 0.7755 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006253/1.843, allocations: 305 kB / 0.7757 GB, free: 219.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002216/1.843, allocations: 121.6 kB / 0.7759 GB, free: 219.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003104/1.847, allocations: 2.505 MB / 0.7783 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.847, allocations: 0 / 0.7783 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005115/1.852, allocations: 1.611 MB / 0.7799 GB, free: 218.7 MB / 0.5919 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.01302/1.865, allocations: 10.59 MB / 0.7902 GB, free: 214 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009851/1.874, allocations: 6.872 MB / 0.7969 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.875, allocations: 0 / 0.7969 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005054/1.88, allocations: 3.179 MB / 0.8 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/1.884, allocations: 0.9831 MB / 0.801 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08249/1.967, allocations: 54.4 MB / 0.8541 GB, free: 153 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008201/1.975, allocations: 6.195 MB / 0.8602 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006231/1.981, allocations: 1.912 MB / 0.862 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00731/1.989, allocations: 3.323 MB / 0.8653 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.533e-06/1.989, allocations: 0 / 0.8653 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2157/2.204, allocations: 133.8 MB / 0.9959 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.46/23.66, allocations: 11.94 kB / 0.9959 GB, free: 8.25 MB / 0.5919 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_4.1.0_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: 26.573195307999413]