Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.0008793/0.0008793, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.00106/0.00106, allocations: 156.9 kB / 23.94 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.9181/0.9181, allocations: 177 MB / 204.1 MB, free: 5.719 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_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 4 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.394e-05, allocations: 7.125 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01076/0.01078, allocations: 12.5 MB / 337 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007238/0.01802, allocations: 4.47 MB / 341.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.01962, allocations: 103.4 kB / 341.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.02158, allocations: 1.009 MB / 342.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002841/0.02442, allocations: 1.362 MB / 344 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.02585, allocations: 0.9224 MB / 344.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003581/0.02943, allocations: 4.337 MB / 349.2 MB, free: 7.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002097/0.03152, allocations: 1.746 MB / 351 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003391/0.03492, allocations: 2.862 MB / 353.8 MB, free: 2.359 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.0371, allocations: 1.761 MB / 355.6 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005996/0.0377, allocations: 0.5078 MB / 356.1 MB, free: 88 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.03895, allocations: 0.7182 MB / 356.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008402/0.03979, allocations: 1.145 MB / 358 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.04115, allocations: 1.446 MB / 359.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005296/0.04645, allocations: 6.821 MB / 366.2 MB, free: 5.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.04646, allocations: 0 / 366.2 MB, free: 5.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.04646, allocations: 0 / 366.2 MB, free: 5.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.31e-05/0.04655, allocations: 0 / 366.2 MB, free: 5.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.006996/0.05355, allocations: 4.404 MB / 370.6 MB, free: 1.465 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.0536, allocations: 19.97 kB / 370.7 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004904/0.05409, allocations: 451.8 kB / 371.1 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.05654, allocations: 0.8339 MB / 371.9 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/0.0597, allocations: 2.38 MB / 374.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.05983, allocations: 246.8 kB / 374.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.06019, allocations: 320.3 kB / 374.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005484/0.06567, allocations: 4.429 MB / 379.3 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.071e-05/0.06574, allocations: 7.953 kB / 379.3 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.06598, allocations: 132 kB / 379.4 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.0661, allocations: 150.4 kB / 379.6 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004754/0.07086, allocations: 3.597 MB / 383.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.08665, allocations: 12.3 MB / 395.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003312/0.08997, allocations: 2.602 MB / 398.1 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.09148, allocations: 1.281 MB / 399.4 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004573/0.09605, allocations: 3.088 MB / 402.5 MB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.09608, allocations: 51.81 kB / 402.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=134): time 3.657e-06/0.09609, allocations: 0 / 402.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.008215/0.1043, allocations: 5.241 MB / 407.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.1043, allocations: 68.66 kB / 407.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.1065, allocations: 1.836 MB / 409.7 MB, free: 9.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/0.1066, allocations: 49.7 kB / 409.7 MB, free: 9.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/0.1073, allocations: 1.486 MB / 411.2 MB, free: 8.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.1076, allocations: 495.7 kB / 411.7 MB, free: 7.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/0.1079, allocations: 319.4 kB / 412 MB, free: 7.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.108, allocations: 305.1 kB / 412.3 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007494/0.1087, allocations: 0.6793 MB / 413 MB, free: 6.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009806/0.1097, allocations: 1.222 MB / 414.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.1117, allocations: 1.999 MB / 416.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.1117, allocations: 8 kB / 416.2 MB, free: 2.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002797/0.1145, allocations: 2.468 MB / 418.7 MB, free: 432 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.1145, allocations: 15.28 kB / 418.7 MB, free: 420 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.1145, allocations: 19.98 kB / 418.7 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/0.1152, allocations: 372.3 kB / 419.1 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.1159, allocations: 371.4 kB / 419.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/0.1212, allocations: 7.912 MB / 427.3 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.1222, allocations: 75.92 kB / 427.4 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.1223, allocations: 75.98 kB / 427.5 MB, free: 7.137 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * 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 {(1,7,100.0%), (2,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.00162/0.124, allocations: 1.005 MB / 428.5 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.1244, allocations: 202.7 kB / 428.7 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/0.1272, allocations: 2.127 MB / 430.8 MB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.1272, allocations: 15.94 kB / 430.8 MB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.1273, allocations: 8 kB / 430.8 MB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.1273, allocations: 7.969 kB / 430.8 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006155/0.1334, allocations: 4.609 MB / 435.5 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.1334, allocations: 4 kB / 435.5 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/0.1339, allocations: 175.8 kB / 435.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.1351, allocations: 0.5349 MB / 436.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.258e-05/0.1352, allocations: 39.97 kB / 436.2 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008412/0.1436, allocations: 12.49 MB / 448.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1436, allocations: 4.031 kB / 448.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1911/0.3347, allocations: 3.055 MB / 451.8 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/0.3356, allocations: 365.3 kB / 452.1 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.3359, allocations: 33.81 kB / 452.1 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.3365, allocations: 63.77 kB / 452.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/0.3368, allocations: 117.1 kB / 452.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.3369, allocations: 37.48 kB / 452.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001625/0.3385, allocations: 1.24 MB / 453.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3385, allocations: 0 / 453.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001548/0.34, allocations: 0.5877 MB / 454.2 MB, free: 110.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * 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,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.003411/0.3434, allocations: 3.674 MB / 457.9 MB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.3461, allocations: 2.212 MB / 460.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.3461, allocations: 3.625 kB / 460.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.3475, allocations: 1.666 MB / 461.7 MB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.3494, allocations: 0.5542 MB / 462.3 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/0.3725, allocations: 20.02 MB / 482.3 MB, free: 87.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.3737, allocations: 1.753 MB / 484.1 MB, free: 86.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008634/0.3745, allocations: 409.1 kB / 484.5 MB, free: 85.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/0.3753, allocations: 1.149 MB / 485.6 MB, free: 84.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3753, allocations: 0 / 485.6 MB, free: 84.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07058/0.4459, allocations: 57.64 MB / 0.5305 GB, free: 27.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.759, allocations: 8 kB / 0.5305 GB, free: 27.38 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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: 11.926757301203907]