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.001334/0.001334, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.00142/0.00142, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001496/0.001496, allocations: 47.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2861, allocations: 53.37 MB / 431.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.03056/0.3166, allocations: 24.95 MB / 456.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.3344, allocations: 7.493 MB / 463.6 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005967/0.3403, allocations: 218.9 kB / 463.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02222/0.3625, allocations: 8.927 MB / 472.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.011/0.3735, allocations: 3.031 MB / 475.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00597/0.3795, allocations: 1.776 MB / 477.6 MB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01616/0.3957, allocations: 10.96 MB / 488.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03048/0.4261, allocations: 14.36 MB / 0.4911 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.4364, allocations: 5.872 MB / 0.4968 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.4476, allocations: 6.37 MB / 0.5031 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004088/0.4517, allocations: 1.668 MB / 0.5047 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006294/0.458, allocations: 2.062 MB / 0.5067 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005335/0.4633, allocations: 3.168 MB / 0.5098 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01103/0.4743, allocations: 6.09 MB / 0.5157 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4718/0.9462, allocations: 22.39 MB / 0.5376 GB, free: 39.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.9462, allocations: 0.5 kB / 0.5376 GB, free: 39.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.9462, allocations: 0.5 kB / 0.5376 GB, free: 39.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006233/0.9468, allocations: 0 / 0.5376 GB, free: 39.78 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.03661/0.9834, allocations: 12.89 MB / 0.5502 GB, free: 36.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.9835, allocations: 9.969 kB / 0.5502 GB, free: 36.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00472/0.9882, allocations: 1.544 MB / 0.5517 GB, free: 36.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03368/1.022, allocations: 6.185 MB / 0.5578 GB, free: 35.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/1.038, allocations: 7.014 MB / 0.5646 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006235/1.038, allocations: 0.6996 MB / 0.5653 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003644/1.042, allocations: 0.9218 MB / 0.5662 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03374/1.076, allocations: 15.78 MB / 0.5816 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003147/1.076, allocations: 19.89 kB / 0.5816 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002629/1.079, allocations: 392.9 kB / 0.582 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003979/1.079, allocations: 0.5469 MB / 0.5825 GB, free: 21.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02734/1.106, allocations: 14.81 MB / 0.597 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09409/1.2, allocations: 49.93 MB / 0.6457 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01848/1.219, allocations: 9.315 MB / 0.6548 GB, free: 12.44 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005035/1.224, allocations: 2.931 MB / 0.6577 GB, free: 9.516 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004138/1.224, allocations: 120.7 kB / 0.6578 GB, free: 9.418 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.529e-05/1.224, allocations: 73.69 kB / 0.6579 GB, free: 9.336 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=398): time 6.272e-06/1.224, allocations: 0 / 0.6579 GB, free: 9.336 MB / 0.4982 GB Notification: Performance of matching and sorting (n=404): time 0.04198/1.266, allocations: 17.27 MB / 0.6748 GB, free: 8.086 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/1.266, allocations: 94.58 kB / 0.6748 GB, free: 7.98 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006751/1.273, allocations: 3.693 MB / 0.6784 GB, free: 4.289 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007276/1.274, allocations: 93.7 kB / 0.6785 GB, free: 4.191 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003738/1.278, allocations: 4.126 MB / 0.6826 GB, free: 56 kB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002266/1.28, allocations: 1.448 MB / 0.684 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/1.282, allocations: 1.155 MB / 0.6851 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.282, allocations: 301.1 kB / 0.6854 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004673/1.287, allocations: 2.803 MB / 0.6881 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006674/1.293, allocations: 4.961 MB / 0.693 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/1.306, allocations: 8.329 MB / 0.7011 GB, free: 11.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.249e-05/1.306, allocations: 20 kB / 0.7011 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.01782/1.323, allocations: 9.098 MB / 0.71 GB, free: 2.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/1.324, allocations: 40 kB / 0.7101 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/1.324, allocations: 72 kB / 0.7101 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003577/1.327, allocations: 1.228 MB / 0.7113 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005129/1.332, allocations: 1.32 MB / 0.7126 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/1.349, allocations: 9.822 MB / 0.7222 GB, free: 6.266 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/1.354, allocations: 335.5 kB / 0.7225 GB, free: 5.938 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008111/1.355, allocations: 288 kB / 0.7228 GB, free: 5.656 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.007101/1.362, allocations: 3.708 MB / 0.7264 GB, free: 2.027 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.363, allocations: 413.3 kB / 0.7268 GB, free: 1.621 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/1.375, allocations: 6.675 MB / 0.7333 GB, free: 10.95 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01018/1.386, allocations: 5.578 MB / 0.7388 GB, free: 5.383 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.141e-05/1.386, allocations: 12 kB / 0.7388 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.473e-05/1.386, allocations: 19.92 kB / 0.7388 GB, free: 5.352 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0331/1.419, allocations: 15.78 MB / 0.7542 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.419, allocations: 4 kB / 0.7542 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003052/1.422, allocations: 0.7341 MB / 0.7549 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003319/1.425, allocations: 1.115 MB / 0.756 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004471/1.426, allocations: 91.97 kB / 0.7561 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2665/1.692, allocations: 8.744 MB / 0.7647 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.692, allocations: 4.688 kB / 0.7647 GB, free: 224.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.706, allocations: 9.869 MB / 0.7743 GB, free: 220.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002594/1.708, allocations: 0.9174 MB / 0.7752 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007689/1.709, allocations: 79.03 kB / 0.7753 GB, free: 220.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/1.711, allocations: 195.2 kB / 0.7755 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006626/1.712, allocations: 308.3 kB / 0.7757 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/1.712, allocations: 128 kB / 0.7759 GB, free: 220 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003401/1.716, allocations: 2.498 MB / 0.7783 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.716, allocations: 0 / 0.7783 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005772/1.721, allocations: 1.613 MB / 0.7799 GB, free: 218.9 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.01396/1.735, allocations: 10.59 MB / 0.7902 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.746, allocations: 6.867 MB / 0.7969 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.746, allocations: 0 / 0.7969 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005372/1.751, 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.00443/1.756, allocations: 0.9795 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.07612/1.832, allocations: 54.41 MB / 0.8541 GB, free: 153 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006808/1.839, allocations: 6.187 MB / 0.8602 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004518/1.843, allocations: 1.916 MB / 0.862 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004266/1.847, allocations: 3.323 MB / 0.8653 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.553e-06/1.847, allocations: 0 / 0.8653 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1822/2.03, allocations: 133.8 MB / 0.9959 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.28/23.31, allocations: 8 kB / 0.9959 GB, free: 8.297 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat --tempDir=temp_Modelica_4_1_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_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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.569403588073328]