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.001581/0.001581, allocations: 111.8 kB / 18.49 MB, free: 4.562 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.001584/0.001584, allocations: 194.5 kB / 21.43 MB, free: 1.633 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.373/1.373, allocations: 225.6 MB / 249.8 MB, free: 3.707 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 47.92 kB / 366.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09627/0.09768, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.02754/0.1252, allocations: 24.87 MB / 443.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2163/0.3415, allocations: 7.357 MB / 450.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00498/0.3465, allocations: 220.5 kB / 451 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01812/0.3646, allocations: 8.886 MB / 459.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009763/0.3744, allocations: 2.963 MB / 462.8 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005179/0.3796, allocations: 1.716 MB / 464.5 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01428/0.3938, allocations: 10.74 MB / 475.3 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03174/0.4256, allocations: 16.62 MB / 491.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.4378, allocations: 5.824 MB / 497.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01245/0.4502, allocations: 6.303 MB / 0.4922 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00477/0.455, allocations: 1.672 MB / 0.4938 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006371/0.4613, allocations: 2.032 MB / 0.4958 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005026/0.4664, allocations: 3.17 MB / 0.4989 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01244/0.4788, allocations: 6.088 MB / 0.5049 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03198/0.5108, allocations: 22.37 MB / 0.5267 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.5108, allocations: 0 / 0.5267 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5108, allocations: 3.938 kB / 0.5267 GB, free: 10.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006302/0.5114, allocations: 0 / 0.5267 GB, free: 10.88 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.04261/0.554, allocations: 12.94 MB / 0.5393 GB, free: 13.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5541, allocations: 8.031 kB / 0.5394 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003394/0.5544, allocations: 288.2 kB / 0.5396 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00472/0.5592, allocations: 1.552 MB / 0.5411 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03455/0.5937, allocations: 6.247 MB / 0.5472 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.6088, allocations: 6.928 MB / 0.554 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007438/0.6095, allocations: 0.7015 MB / 0.5547 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004045/0.6135, allocations: 0.9229 MB / 0.5556 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03358/0.6471, allocations: 15.75 MB / 0.571 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001859/0.6473, allocations: 7.953 kB / 0.571 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.6485, allocations: 396.5 kB / 0.5714 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005754/0.6491, allocations: 0.5587 MB / 0.5719 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0306/0.6797, allocations: 14.77 MB / 0.5863 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4882/1.168, allocations: 51.13 MB / 0.6363 GB, free: 130.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/1.188, allocations: 26.08 MB / 0.6617 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004675/1.193, allocations: 2.935 MB / 0.6646 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/1.193, allocations: 167.1 kB / 0.6648 GB, free: 109 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/1.193, allocations: 78.77 kB / 0.6648 GB, free: 109 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=400): time 6.623e-06/1.193, allocations: 0 / 0.6648 GB, free: 109 MB / 0.5138 GB Notification: Performance of matching and sorting (n=467): time 0.05008/1.244, allocations: 27.05 MB / 0.6912 GB, free: 103.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/1.244, allocations: 102.1 kB / 0.6913 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/1.248, allocations: 3.697 MB / 0.695 GB, free: 102.4 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003347/1.248, allocations: 100.5 kB / 0.695 GB, free: 102.3 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001537/1.25, allocations: 4.125 MB / 0.6991 GB, free: 99.66 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009882/1.251, allocations: 1.661 MB / 0.7007 GB, free: 98.37 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00146/1.252, allocations: 1.226 MB / 0.7019 GB, free: 97.78 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.772e-05/1.252, allocations: 304.9 kB / 0.7022 GB, free: 97.48 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/1.256, allocations: 3.197 MB / 0.7053 GB, free: 95.91 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004308/1.26, allocations: 5.388 MB / 0.7106 GB, free: 91.27 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008485/1.268, allocations: 9.229 MB / 0.7196 GB, free: 84.39 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.78e-05/1.268, allocations: 19.75 kB / 0.7196 GB, free: 84.39 MB / 0.5138 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.01568/1.284, allocations: 10.94 MB / 0.7303 GB, free: 76.88 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/1.284, allocations: 36 kB / 0.7303 GB, free: 76.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-05/1.284, allocations: 72 kB / 0.7304 GB, free: 76.77 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006233/1.29, allocations: 2.457 MB / 0.7328 GB, free: 74.31 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004458/1.295, allocations: 1.331 MB / 0.7341 GB, free: 72.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02411/1.319, allocations: 20.73 MB / 0.7543 GB, free: 51.98 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/1.323, allocations: 347.5 kB / 0.7547 GB, free: 51.64 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007916/1.324, allocations: 304 kB / 0.755 GB, free: 51.35 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 (700): * Single equations (assignments): 697 * 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,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004628/1.329, allocations: 3.788 MB / 0.7587 GB, free: 47.55 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008927/1.33, allocations: 437.2 kB / 0.7591 GB, free: 47.12 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/1.343, allocations: 8.582 MB / 0.7674 GB, free: 38.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01014/1.353, allocations: 7.333 MB / 0.7746 GB, free: 31.15 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/1.353, allocations: 20 kB / 0.7746 GB, free: 31.13 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-05/1.353, allocations: 27.84 kB / 0.7747 GB, free: 31.11 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.379, allocations: 19.07 MB / 0.7933 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/1.379, allocations: 4 kB / 0.7933 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/1.382, allocations: 0.7411 MB / 0.794 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005437/1.388, allocations: 2.196 MB / 0.7962 GB, free: 9.004 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003453/1.388, allocations: 95.98 kB / 0.7962 GB, free: 8.91 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02316/1.411, allocations: 17.42 MB / 0.8133 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.411, allocations: 4 kB / 0.8133 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0217/1.433, allocations: 12.32 MB / 0.8253 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003002/1.436, allocations: 1.095 MB / 0.8264 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006201/1.436, allocations: 91.94 kB / 0.8264 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/1.439, allocations: 219.8 kB / 0.8267 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008866/1.439, allocations: 340.1 kB / 0.827 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/1.44, allocations: 136 kB / 0.8271 GB, free: 8.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004144/1.444, allocations: 2.491 MB / 0.8295 GB, free: 6.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.444, allocations: 0 / 0.8295 GB, free: 6.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007044/1.451, allocations: 1.789 MB / 0.8313 GB, free: 4.645 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (imcQS.stator.stray.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 (401): * Single equations (assignments): 398 * 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,41.8%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2348/1.686, allocations: 13.08 MB / 0.8441 GB, free: 166.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01638/1.702, allocations: 8.515 MB / 0.8524 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.702, allocations: 1.125 kB / 0.8524 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009023/1.711, allocations: 4.315 MB / 0.8566 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.716, allocations: 0.9885 MB / 0.8576 GB, free: 162.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07708/1.793, allocations: 59.81 MB / 0.916 GB, free: 125.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00481/1.798, allocations: 6.334 MB / 0.9222 GB, free: 119.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004219/1.802, allocations: 1.94 MB / 0.9241 GB, free: 117.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003505/1.805, allocations: 3.347 MB / 0.9273 GB, free: 114 MB / 0.545 GB Notification: Performance of SimCode: time 8.91e-07/1.805, allocations: 4 kB / 0.9273 GB, free: 114 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3841/2.189, allocations: 144 MB / 1.068 GB, free: 169.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.03/21.22, allocations: 10.36 kB / 1.068 GB, free: 169.1 MB / 0.5607 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/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/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.714005068992265]