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.00134/0.00134, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001614/0.001614, allocations: 184.4 kB / 23.72 MB, free: 4.699 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.439/1.439, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.001409/0.001409, allocations: 47.91 kB / 370.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2853, allocations: 52.2 MB / 422.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01583/0.3012, allocations: 12.98 MB / 435.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009673/0.3108, allocations: 4.291 MB / 439.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.3135, allocations: 91.44 kB / 440 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003609/0.3171, allocations: 1.021 MB / 441 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005342/0.3224, allocations: 1.352 MB / 442.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.325, allocations: 0.8543 MB / 443.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005831/0.3309, allocations: 4.031 MB / 447.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004012/0.3349, allocations: 1.781 MB / 449.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003102/0.338, allocations: 1.936 MB / 451 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.3419, allocations: 2.148 MB / 453.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.3432, allocations: 0.5116 MB / 453.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.3455, allocations: 0.7146 MB / 454.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.3471, allocations: 1.149 MB / 455.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003698/0.3508, allocations: 2.12 MB / 457.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008323/0.3591, allocations: 6.774 MB / 464.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3592, allocations: 4 kB / 464.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.3592, allocations: 0 / 464.4 MB, free: 4.598 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001559/0.3593, allocations: 4 kB / 464.4 MB, free: 4.594 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.01217/0.3715, allocations: 4.408 MB / 468.8 MB, free: 128 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3715, allocations: 16.03 kB / 468.8 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007286/0.3723, allocations: 447.2 kB / 469.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/0.3765, allocations: 0.8222 MB / 470.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005471/0.3819, allocations: 2.431 MB / 472.5 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.3821, allocations: 234.6 kB / 472.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005743/0.3827, allocations: 319.9 kB / 473.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008548/0.3913, allocations: 4.254 MB / 477.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.447e-05/0.3913, allocations: 3.953 kB / 477.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.3916, allocations: 128 kB / 477.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.3918, allocations: 146.2 kB / 477.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007027/0.3988, allocations: 3.659 MB / 481.3 MB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02385/0.4227, allocations: 13.1 MB / 494.4 MB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005082/0.4278, allocations: 2.601 MB / 497 MB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/0.43, allocations: 1.297 MB / 498.3 MB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006866/0.4369, allocations: 3.391 MB / 0.4899 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.437, allocations: 51.56 kB / 0.4899 GB, free: 14.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.106e-06/0.437, allocations: 0 / 0.4899 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.0145/0.4515, allocations: 6.071 MB / 0.4959 GB, free: 8.754 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.4515, allocations: 68.72 kB / 0.4959 GB, free: 8.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.4547, allocations: 1.855 MB / 0.4977 GB, free: 6.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.4548, allocations: 49.7 kB / 0.4978 GB, free: 6.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.4561, allocations: 1.463 MB / 0.4992 GB, free: 5.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004912/0.4566, allocations: 0.5151 MB / 0.4997 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.4571, allocations: 303.5 kB / 0.5 GB, free: 4.469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4572, allocations: 305.1 kB / 0.5003 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.4585, allocations: 0.7613 MB / 0.501 GB, free: 3.406 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.4602, allocations: 1.22 MB / 0.5022 GB, free: 1.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.4632, allocations: 2.108 MB / 0.5043 GB, free: 15.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4632, allocations: 4 kB / 0.5043 GB, free: 15.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004834/0.4681, allocations: 2.652 MB / 0.5069 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.4681, allocations: 12 kB / 0.5069 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.4681, allocations: 12 kB / 0.5069 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.4695, allocations: 0.514 MB / 0.5074 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.471, allocations: 375.5 kB / 0.5078 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00904/0.48, allocations: 6.725 MB / 0.5143 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.4817, allocations: 83.84 kB / 0.5144 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4818, allocations: 72 kB / 0.5145 GB, free: 5.004 MB / 430.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.002047/0.4838, allocations: 1.048 MB / 0.5155 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003679/0.4842, allocations: 206.7 kB / 0.5157 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.4885, allocations: 2.334 MB / 0.518 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.4885, allocations: 15.94 kB / 0.518 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.4886, allocations: 8 kB / 0.518 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.4886, allocations: 3.984 kB / 0.518 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009584/0.4982, allocations: 5.346 MB / 0.5232 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.4982, allocations: 4 kB / 0.5232 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009873/0.4991, allocations: 219.7 kB / 0.5235 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/0.5006, allocations: 0.4998 MB / 0.5239 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-05/0.5006, allocations: 35.98 kB / 0.524 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2382/0.7388, allocations: 10.89 MB / 0.5346 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.7389, allocations: 2.938 kB / 0.5346 GB, free: 104.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006058/0.7449, allocations: 3.414 MB / 0.5379 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.746, allocations: 400.1 kB / 0.5383 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/0.7463, allocations: 33.33 kB / 0.5384 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.7473, allocations: 64.06 kB / 0.5384 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/0.7476, allocations: 120.5 kB / 0.5385 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.538e-05/0.7477, allocations: 39.56 kB / 0.5386 GB, free: 103.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001869/0.7496, allocations: 1.288 MB / 0.5398 GB, free: 103.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7496, allocations: 0 / 0.5398 GB, free: 103.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00211/0.7517, allocations: 0.5904 MB / 0.5404 GB, free: 103.2 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.00491/0.7566, allocations: 4.011 MB / 0.5443 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003542/0.7601, allocations: 2.313 MB / 0.5466 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7601, allocations: 3.938 kB / 0.5466 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.7622, allocations: 1.666 MB / 0.5482 GB, free: 99.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.7643, allocations: 0.5113 MB / 0.5487 GB, free: 99.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/0.7923, allocations: 21.35 MB / 0.5696 GB, free: 80.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/0.7938, allocations: 2.37 MB / 0.5719 GB, free: 78.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001137/0.795, allocations: 412.8 kB / 0.5723 GB, free: 77.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.7961, allocations: 1.148 MB / 0.5734 GB, free: 76.49 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.7961, allocations: 0 / 0.5734 GB, free: 76.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/0.8988, allocations: 57.02 MB / 0.6291 GB, free: 19.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.13, allocations: 3.844 kB / 0.6291 GB, free: 19.95 MB / 446.1 MB " [Timeout remaining time 644] (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/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/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: 21.626585137099028]