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_Transformer.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.0009392/0.0009392, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009003/0.0009003, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8532/0.8532, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 318.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.664e-05, allocations: 2.281 kB / 318.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01128/0.01129, allocations: 14.66 MB / 333.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006598/0.01789, allocations: 5.408 MB / 338.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009693/0.01886, allocations: 139.2 kB / 338.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.02087, allocations: 1.351 MB / 340 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.02306, allocations: 1.889 MB / 341.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.02409, allocations: 1.031 MB / 342.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.02775, allocations: 6.538 MB / 349.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/0.02996, allocations: 2.76 MB / 352.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.03339, allocations: 4.397 MB / 356.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.03554, allocations: 2.923 MB / 359.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005431/0.03608, allocations: 0.7852 MB / 360.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.03721, allocations: 1.062 MB / 361.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009477/0.03816, allocations: 1.913 MB / 363.3 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.03966, allocations: 2.292 MB / 365.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007/0.04666, allocations: 10.67 MB / 376.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.04667, allocations: 0 / 376.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.04667, allocations: 0 / 376.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002287/0.0469, allocations: 7.875 kB / 376.3 MB, free: 12.26 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01084/0.05774, allocations: 6.526 MB / 382.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.05779, allocations: 8.031 kB / 382.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006148/0.05841, allocations: 0.675 MB / 383.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.06106, allocations: 1.086 MB / 384.6 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/0.06527, allocations: 3.575 MB / 388.1 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.06545, allocations: 370.2 kB / 388.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/0.06592, allocations: 484 kB / 389 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00754/0.07346, allocations: 7.182 MB / 396.2 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.59e-05/0.07353, allocations: 3.953 kB / 396.2 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004728/0.074, allocations: 203.9 kB / 396.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.07414, allocations: 241.8 kB / 396.6 MB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006442/0.08058, allocations: 5.929 MB / 402.5 MB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01968/0.1003, allocations: 18.61 MB / 421.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005024/0.1053, allocations: 4.44 MB / 425.6 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/0.1078, allocations: 2.298 MB / 427.9 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007028/0.1148, allocations: 5.638 MB / 433.5 MB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1149, allocations: 60.56 kB / 433.6 MB, free: 2.441 MB / 394.7 MB Notification: Performance of pre-optimization done (n=219): time 3.467e-06/0.1149, allocations: 0 / 433.6 MB, free: 2.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=226): time 0.0111/0.126, allocations: 8.953 MB / 442.5 MB, free: 9.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.126, allocations: 77.41 kB / 442.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.1289, allocations: 3.015 MB / 445.6 MB, free: 6.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.587e-05/0.129, allocations: 65.7 kB / 445.7 MB, free: 6.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.1303, allocations: 2.221 MB / 447.9 MB, free: 4.039 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/0.1307, allocations: 0.7862 MB / 448.7 MB, free: 3.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004959/0.1312, allocations: 465.2 kB / 449.1 MB, free: 2.785 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.1312, allocations: 305.1 kB / 449.4 MB, free: 2.484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.1326, allocations: 1.289 MB / 450.7 MB, free: 1.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1788/0.3113, allocations: 1.945 MB / 452.7 MB, free: 115.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/0.3152, allocations: 3.343 MB / 456 MB, free: 114 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/0.3152, allocations: 5.906 kB / 456 MB, free: 114 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.004164/0.3194, allocations: 4.167 MB / 460.2 MB, free: 112.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3194, allocations: 11.56 kB / 460.2 MB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.3195, allocations: 18.66 kB / 460.2 MB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.3207, allocations: 0.7619 MB / 461 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.3218, allocations: 0.5676 MB / 461.5 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/0.3274, allocations: 10.34 MB / 471.9 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3287, allocations: 105.2 kB / 472 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.3288, allocations: 107.7 kB / 472.1 MB, free: 103.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001904/0.3307, allocations: 1.608 MB / 473.7 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.331, allocations: 334.1 kB / 474 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/0.3344, allocations: 3.728 MB / 477.8 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3344, allocations: 20 kB / 477.8 MB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3344, allocations: 15.66 kB / 477.8 MB, free: 98.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3344, allocations: 11.95 kB / 477.8 MB, free: 98.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007368/0.3418, allocations: 7.879 MB / 485.7 MB, free: 90.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3418, allocations: 4 kB / 485.7 MB, free: 90.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/0.3425, allocations: 347.8 kB / 486 MB, free: 90.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.344, allocations: 0.9279 MB / 487 MB, free: 89.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.3441, allocations: 63.97 kB / 487 MB, free: 89.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007885/0.352, allocations: 14.91 MB / 0.4902 GB, free: 74.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.352, allocations: 8.031 kB / 0.4902 GB, free: 74.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005152/0.3571, allocations: 5.523 MB / 0.4956 GB, free: 68.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.3581, allocations: 0.6344 MB / 0.4962 GB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.3584, allocations: 55.98 kB / 0.4962 GB, free: 67.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.3592, allocations: 111.9 kB / 0.4963 GB, free: 67.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.3595, allocations: 197.6 kB / 0.4965 GB, free: 67.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.3596, allocations: 63.98 kB / 0.4966 GB, free: 67.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001989/0.3616, allocations: 2.062 MB / 0.4986 GB, free: 65.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3616, allocations: 0 / 0.4986 GB, free: 65.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002215/0.3638, allocations: 0.9418 MB / 0.4995 GB, free: 64.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (2,26,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005171/0.369, allocations: 6.242 MB / 0.5056 GB, free: 58.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003588/0.3726, allocations: 3.706 MB / 0.5092 GB, free: 54.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3726, allocations: 4 kB / 0.5092 GB, free: 54.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.3746, allocations: 2.539 MB / 0.5117 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.3766, allocations: 0.9123 MB / 0.5126 GB, free: 50.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03669/0.4133, allocations: 33.68 MB / 0.5455 GB, free: 16.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/0.4153, allocations: 2.91 MB / 0.5484 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001531/0.4168, allocations: 0.7643 MB / 0.5491 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/0.418, allocations: 1.84 MB / 0.5509 GB, free: 10.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.418, allocations: 3.938 kB / 0.5509 GB, free: 10.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2846/0.7026, allocations: 90.23 MB / 0.639 GB, free: 130.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.85, allocations: 10.81 kB / 0.639 GB, free: 130.6 MB / 458.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 17.13525284640491]