Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008829/0.0008829, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9544/0.9544, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_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_trunk_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.974e-06/1.974e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.337e-05, allocations: 3.125 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01168/0.0117, allocations: 15.23 MB / 339.8 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.02187, allocations: 5.688 MB / 345.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/0.02552, allocations: 139.1 kB / 345.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00385/0.02937, allocations: 1.362 MB / 347 MB, free: 9.383 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006233/0.0356, allocations: 1.883 MB / 348.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.03819, allocations: 1.074 MB / 349.9 MB, free: 6.414 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00733/0.04552, allocations: 6.659 MB / 356.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0045/0.05002, allocations: 2.763 MB / 359.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007888/0.05791, allocations: 4.44 MB / 363.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006213/0.06412, allocations: 2.946 MB / 366.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00186/0.06598, allocations: 0.7852 MB / 367.5 MB, free: 4.703 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.06829, allocations: 1.077 MB / 368.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.06941, allocations: 1.924 MB / 370.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.07154, allocations: 2.308 MB / 372.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00704/0.07858, allocations: 10.73 MB / 383.5 MB, free: 4.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.07859, allocations: 7.984 kB / 383.6 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.07859, allocations: 0 / 383.6 MB, free: 4.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.173e-05/0.07866, allocations: 0 / 383.6 MB, free: 4.613 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.008614/0.08727, allocations: 6.569 MB / 390.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.08732, allocations: 11.98 kB / 390.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006186/0.08794, allocations: 0.6791 MB / 390.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.0907, allocations: 1.094 MB / 391.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/0.09488, allocations: 3.626 MB / 395.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/0.09514, allocations: 366.1 kB / 395.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004884/0.09563, allocations: 492.2 kB / 396.4 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007809/0.1034, allocations: 7.214 MB / 403.6 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.929e-05/0.1035, allocations: 11.94 kB / 403.6 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.1038, allocations: 203.9 kB / 403.8 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.104, allocations: 249.8 kB / 404 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006733/0.1107, allocations: 5.949 MB / 410 MB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.1295, allocations: 18.68 MB / 428.7 MB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004853/0.1343, allocations: 4.455 MB / 433.1 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/0.1367, allocations: 2.298 MB / 435.4 MB, free: 260 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006514/0.1432, allocations: 5.657 MB / 441.1 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.1432, allocations: 60.56 kB / 441.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 3.257e-06/0.1432, allocations: 0 / 441.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.01066/0.1539, allocations: 8.991 MB / 450.1 MB, free: 1.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1539, allocations: 73.41 kB / 450.2 MB, free: 1.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1599/0.3138, allocations: 3.055 MB / 453.3 MB, free: 110.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000384/0.3142, allocations: 63.39 kB / 453.3 MB, free: 110.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.3152, allocations: 2.229 MB / 455.6 MB, free: 109.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004445/0.3157, allocations: 0.7906 MB / 456.3 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004597/0.3161, allocations: 469.5 kB / 456.8 MB, free: 109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.3162, allocations: 305.6 kB / 457.1 MB, free: 108.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.3175, allocations: 1.29 MB / 458.4 MB, free: 108.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.319, allocations: 1.945 MB / 460.3 MB, free: 107 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.3218, allocations: 3.34 MB / 463.7 MB, free: 105.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.3218, allocations: 7.406 kB / 463.7 MB, free: 105.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.00421/0.326, allocations: 4.177 MB / 467.9 MB, free: 103 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.326, allocations: 12 kB / 467.9 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.3261, allocations: 20 kB / 467.9 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.3273, allocations: 0.7636 MB / 468.7 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.3284, allocations: 0.5636 MB / 469.2 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.3339, allocations: 10.34 MB / 479.6 MB, free: 91.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.3354, allocations: 107.9 kB / 479.7 MB, free: 91.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.3355, allocations: 104 kB / 479.8 MB, free: 91.58 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.002035/0.3375, allocations: 1.622 MB / 481.4 MB, free: 89.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.338, allocations: 333.9 kB / 481.7 MB, free: 89.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.3415, allocations: 3.729 MB / 485.4 MB, free: 85.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.3415, allocations: 23.84 kB / 485.5 MB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.3416, allocations: 12 kB / 485.5 MB, free: 85.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3416, allocations: 11.95 kB / 485.5 MB, free: 85.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007759/0.3493, allocations: 7.91 MB / 493.4 MB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3493, allocations: 0 / 493.4 MB, free: 77.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000767/0.3501, allocations: 351.8 kB / 493.7 MB, free: 77.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.3516, allocations: 0.9404 MB / 494.7 MB, free: 76.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.3517, allocations: 67.97 kB / 494.8 MB, free: 76.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007439/0.3591, allocations: 14.94 MB / 0.4977 GB, free: 60.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3591, allocations: 8.031 kB / 0.4978 GB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/0.3642, allocations: 5.528 MB / 0.5032 GB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.3654, allocations: 0.6423 MB / 0.5038 GB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.3656, allocations: 59.92 kB / 0.5038 GB, free: 54.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.3664, allocations: 103.9 kB / 0.5039 GB, free: 54.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/0.3667, allocations: 201.5 kB / 0.5041 GB, free: 54.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-05/0.3668, allocations: 63.98 kB / 0.5042 GB, free: 54.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002012/0.3688, allocations: 2.079 MB / 0.5062 GB, free: 52.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3688, allocations: 0 / 0.5062 GB, free: 52.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002064/0.3709, allocations: 0.9455 MB / 0.5071 GB, free: 51.25 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%), (3,25,88.9%), (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.005129/0.376, allocations: 6.253 MB / 0.5132 GB, free: 44.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003487/0.3795, allocations: 3.709 MB / 0.5169 GB, free: 41.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3795, allocations: 0.875 kB / 0.5169 GB, free: 41.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.3816, allocations: 2.555 MB / 0.5194 GB, free: 38.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.3843, allocations: 0.9295 MB / 0.5203 GB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/0.4223, allocations: 33.78 MB / 0.5533 GB, free: 3.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/0.4242, allocations: 2.935 MB / 0.5561 GB, free: 92 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001676/0.4259, allocations: 0.7606 MB / 0.5569 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.4275, allocations: 1.863 MB / 0.5587 GB, free: 13.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4275, allocations: 0 / 0.5587 GB, free: 13.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2723/0.6998, allocations: 90.88 MB / 0.6474 GB, free: 142.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.645/10.34, allocations: 0 / 0.6474 GB, free: 142.1 MB / 474.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.427218192256987]