Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001359/0.001359, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.001408/0.001408, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.456/1.456, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 47.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 52.13 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0156/0.1232, allocations: 12.95 MB / 430.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009214/0.1324, allocations: 4.275 MB / 435 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.1346, allocations: 75.69 kB / 435.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.1378, allocations: 1.01 MB / 436.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004781/0.1426, allocations: 1.359 MB / 437.5 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.145, allocations: 0.8368 MB / 438.3 MB, free: 8.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005958/0.151, allocations: 4.022 MB / 442.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.1544, allocations: 2.253 MB / 444.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2334/0.3878, allocations: 1.893 MB / 446.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/0.391, allocations: 2.14 MB / 448.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007552/0.3917, allocations: 0.5101 MB / 449.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.393, allocations: 0.7119 MB / 449.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008064/0.3938, allocations: 1.148 MB / 451 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.3963, allocations: 2.127 MB / 453.1 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01008/0.4064, allocations: 6.769 MB / 459.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4064, allocations: 0 / 459.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4064, allocations: 0 / 459.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002282/0.4066, allocations: 0 / 459.9 MB, free: 8.496 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.0144/0.421, allocations: 4.488 MB / 464.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.4211, allocations: 12.61 kB / 464.4 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007968/0.4219, allocations: 452.7 kB / 464.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/0.4262, allocations: 0.8236 MB / 465.6 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/0.4325, allocations: 2.483 MB / 468.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.4328, allocations: 233.7 kB / 468.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.4342, allocations: 314.4 kB / 468.6 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.4445, allocations: 4.26 MB / 472.9 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.927e-05/0.4445, allocations: 1.062 kB / 472.9 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.4449, allocations: 127.5 kB / 473 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/0.445, allocations: 148.2 kB / 473.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006992/0.452, allocations: 3.662 MB / 476.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02558/0.4776, allocations: 13.36 MB / 490.2 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006985/0.4846, allocations: 6.736 MB / 496.9 MB, free: 308 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002235/0.4868, allocations: 1.308 MB / 498.2 MB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007152/0.494, allocations: 3.63 MB / 0.4901 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.494, allocations: 55.55 kB / 0.4902 GB, free: 12.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 3.386e-06/0.494, allocations: 0 / 0.4902 GB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01509/0.5091, allocations: 6.675 MB / 0.4967 GB, free: 5.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.5092, allocations: 76.36 kB / 0.4968 GB, free: 5.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/0.513, allocations: 1.855 MB / 0.4986 GB, free: 3.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.5132, allocations: 53.7 kB / 0.4986 GB, free: 3.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.5146, allocations: 1.462 MB / 0.5 GB, free: 2.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005569/0.5151, allocations: 0.5133 MB / 0.5005 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005429/0.5157, allocations: 303.5 kB / 0.5008 GB, free: 1.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5158, allocations: 305.1 kB / 0.5011 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.5171, allocations: 0.7574 MB / 0.5019 GB, free: 372 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.5189, allocations: 1.225 MB / 0.5031 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/0.5222, allocations: 2.108 MB / 0.5051 GB, free: 12.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.5222, allocations: 8 kB / 0.5051 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005109/0.5273, allocations: 2.653 MB / 0.5077 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.5274, allocations: 15.94 kB / 0.5077 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.5274, allocations: 12 kB / 0.5077 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.5288, allocations: 0.5021 MB / 0.5082 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.5302, allocations: 388.2 kB / 0.5086 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008885/0.5391, allocations: 6.93 MB / 0.5154 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.5409, allocations: 71.95 kB / 0.5154 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.5411, allocations: 75.98 kB / 0.5155 GB, free: 1.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002211/0.5433, allocations: 1.046 MB / 0.5165 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/0.5438, allocations: 210.7 kB / 0.5167 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/0.5484, allocations: 2.48 MB / 0.5192 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.5484, allocations: 16 kB / 0.5192 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.5484, allocations: 7.938 kB / 0.5192 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.5485, allocations: 15.97 kB / 0.5192 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.5585, allocations: 5.509 MB / 0.5246 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.5585, allocations: 4 kB / 0.5246 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.5595, allocations: 218.2 kB / 0.5248 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.5608, allocations: 0.4952 MB / 0.5253 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.5609, allocations: 37.06 kB / 0.5253 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/0.5726, allocations: 11.43 MB / 0.5365 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5726, allocations: 7.969 kB / 0.5365 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/0.5785, allocations: 3.566 MB / 0.54 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.5798, allocations: 463.7 kB / 0.5404 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003292/0.5802, allocations: 28 kB / 0.5404 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009445/0.5811, allocations: 67.94 kB / 0.5405 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.5815, allocations: 113.1 kB / 0.5406 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.5816, allocations: 43.98 kB / 0.5406 GB, free: 7.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002379/0.5839, allocations: 1.278 MB / 0.5419 GB, free: 6.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5839, allocations: 0 / 0.5419 GB, free: 6.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002433/0.5864, allocations: 0.5859 MB / 0.5425 GB, free: 5.566 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006384/0.5928, allocations: 4.179 MB / 0.5465 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004286/0.597, allocations: 2.315 MB / 0.5488 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.597, allocations: 4 kB / 0.5488 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002809/0.5999, allocations: 1.666 MB / 0.5504 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/0.6028, allocations: 0.5085 MB / 0.5509 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03784/0.6406, allocations: 21.32 MB / 0.5718 GB, free: 7.055 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/0.6432, allocations: 2.37 MB / 0.5741 GB, free: 4.652 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001589/0.6448, allocations: 412.8 kB / 0.5745 GB, free: 4.246 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/0.6465, allocations: 1.149 MB / 0.5756 GB, free: 3.102 MB / 478.1 MB Notification: Performance of SimCode: time 1.874e-06/0.6465, allocations: 4 kB / 0.5756 GB, free: 3.098 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3267/0.9732, allocations: 55.65 MB / 0.6299 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.86, allocations: 15.27 kB / 0.6299 GB, free: 168.2 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 20.775999304372817]