Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006198/0.006198, allocations: 165.9 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8937/0.8937, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.811e-05, allocations: 2.281 kB / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.1876/0.1877, allocations: 11.89 MB / 310.4 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008549/0.1962, allocations: 4.227 MB / 314.6 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.1979, allocations: 87.19 kB / 314.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.2002, allocations: 0.9931 MB / 315.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.2029, allocations: 1.325 MB / 317 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.2044, allocations: 0.9124 MB / 317.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004002/0.2084, allocations: 4.293 MB / 322.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.2106, allocations: 1.713 MB / 323.9 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.2145, allocations: 2.844 MB / 326.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.2172, allocations: 1.752 MB / 328.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.2184, allocations: 0.5061 MB / 329 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.2196, allocations: 0.701 MB / 329.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007062/0.2203, allocations: 1.146 MB / 330.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.2219, allocations: 1.444 MB / 332.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005222/0.2271, allocations: 6.767 MB / 339.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2271, allocations: 4 kB / 339.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2272, allocations: 4 kB / 339.1 MB, free: 6.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001764/0.2273, allocations: 0 / 339.1 MB, free: 6.121 MB / 298.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.007098/0.2344, allocations: 4.377 MB / 343.5 MB, free: 1.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2345, allocations: 11.98 kB / 343.5 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004049/0.2349, allocations: 455.8 kB / 343.9 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/0.2371, allocations: 0.8339 MB / 344.7 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.2398, allocations: 2.212 MB / 347 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.24, allocations: 238.8 kB / 347.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.2403, allocations: 332.2 kB / 347.5 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/0.2451, allocations: 4.421 MB / 351.9 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.2452, allocations: 0 / 351.9 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/0.2454, allocations: 128 kB / 352.1 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-05/0.2455, allocations: 152.7 kB / 352.2 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/0.2494, allocations: 3.586 MB / 355.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/0.2616, allocations: 12.29 MB / 368.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.2645, allocations: 2.552 MB / 370.6 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.2659, allocations: 1.285 MB / 371.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003502/0.2694, allocations: 3.048 MB / 375 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2694, allocations: 47.88 kB / 375 MB, free: 1.691 MB / 330.7 MB Notification: Performance of pre-optimization done (n=134): time 2.454e-06/0.2694, allocations: 0 / 375 MB, free: 1.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.006632/0.276, allocations: 5.218 MB / 380.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.2761, allocations: 64.72 kB / 380.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/0.2778, allocations: 1.823 MB / 382.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.2778, allocations: 49.7 kB / 382.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/0.2785, allocations: 1.47 MB / 383.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.2787, allocations: 495.8 kB / 384.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/0.279, allocations: 315.4 kB / 384.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.2791, allocations: 301.1 kB / 384.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000738/0.2798, allocations: 0.6832 MB / 385.4 MB, free: 7.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009671/0.2808, allocations: 1.219 MB / 386.6 MB, free: 5.754 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.2826, allocations: 2.006 MB / 388.6 MB, free: 3.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2826, allocations: 7.938 kB / 388.6 MB, free: 3.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002553/0.2852, allocations: 2.461 MB / 391.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2852, allocations: 12 kB / 391.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.2852, allocations: 16.34 kB / 391.1 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.2858, allocations: 364 kB / 391.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/0.2865, allocations: 383.4 kB / 391.9 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004757/0.2913, allocations: 7.919 MB / 399.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006184/0.2919, allocations: 84.06 kB / 399.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/0.292, allocations: 68 kB / 399.9 MB, free: 7.738 MB / 362.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.001189/0.2932, allocations: 1.005 MB / 400.9 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.2933, allocations: 198.7 kB / 401.1 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.2958, allocations: 2.123 MB / 403.2 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.2958, allocations: 16 kB / 403.3 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2958, allocations: 8 kB / 403.3 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2958, allocations: 3.984 kB / 403.3 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.301, allocations: 4.592 MB / 407.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.301, allocations: 8.188 kB / 407.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.3014, allocations: 175.8 kB / 408 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008549/0.3023, allocations: 0.5401 MB / 408.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.636e-05/0.3023, allocations: 35.98 kB / 408.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009192/0.3115, allocations: 12.48 MB / 421.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3115, allocations: 0 / 421.1 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/0.3153, allocations: 3.049 MB / 424.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/0.316, allocations: 366.6 kB / 424.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.3161, allocations: 32 kB / 424.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.3165, allocations: 63.95 kB / 424.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.3168, allocations: 113.1 kB / 424.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.3168, allocations: 43.98 kB / 424.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001311/0.3181, allocations: 1.219 MB / 426 MB, free: 12.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3181, allocations: 0 / 426 MB, free: 12.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00175/0.3199, allocations: 0.582 MB / 426.6 MB, free: 12.23 MB / 394.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.003437/0.3233, allocations: 3.656 MB / 430.2 MB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002647/0.326, allocations: 2.222 MB / 432.4 MB, free: 6.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.326, allocations: 5.812 kB / 432.4 MB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.3275, allocations: 1.679 MB / 434.1 MB, free: 4.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.3288, allocations: 0.548 MB / 434.7 MB, free: 3.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02586/0.3547, allocations: 20.02 MB / 454.7 MB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.3562, allocations: 1.751 MB / 456.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009361/0.3572, allocations: 397 kB / 456.8 MB, free: 13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000948/0.3581, allocations: 1.129 MB / 458 MB, free: 11.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/0.3581, allocations: 0 / 458 MB, free: 11.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2084/0.5665, allocations: 57.11 MB / 0.503 GB, free: 110.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/9.179, allocations: 12 kB / 0.503 GB, free: 110.6 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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: 12.298202191479504]