Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.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.0008379/0.0008379, allocations: 87.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.006376/0.006376, allocations: 164.6 kB / 24.69 MB, free: 9.43 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.8676/0.8676, allocations: 158.6 MB / 186.5 MB, free: 3.031 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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.616e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.1432/0.1432, allocations: 8.544 MB / 307 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00465/0.1479, allocations: 2.905 MB / 309.9 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008646/0.1487, allocations: 49.25 kB / 310 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.1499, allocations: 0.6238 MB / 310.6 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.1514, allocations: 0.8182 MB / 311.4 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.152, allocations: 386.9 kB / 311.8 MB, free: 8.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.1539, allocations: 2.555 MB / 314.3 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009763/0.1549, allocations: 0.9882 MB / 315.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.1565, allocations: 1.605 MB / 316.9 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.1578, allocations: 1.105 MB / 318 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.1582, allocations: 287.9 kB / 318.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.1588, allocations: 368.9 kB / 318.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.1592, allocations: 0.7994 MB / 319.5 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008305/0.1601, allocations: 0.8826 MB / 320.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.1622, allocations: 3.69 MB / 324 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1623, allocations: 0 / 324 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1623, allocations: 0 / 324 MB, free: 1.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.788e-05/0.1623, allocations: 0 / 324 MB, free: 1.953 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00362/0.1659, allocations: 2.538 MB / 326.6 MB, free: 188 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.166, allocations: 14.05 kB / 326.6 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002893/0.1663, allocations: 278.1 kB / 326.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005717/0.1669, allocations: 278.4 kB / 327.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.1685, allocations: 1.201 MB / 328.3 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.1685, allocations: 146.2 kB / 328.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.1688, allocations: 200.3 kB / 328.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.1715, allocations: 2.518 MB / 331.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.1716, allocations: 6.5 kB / 331.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.1717, allocations: 77.69 kB / 331.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.178e-05/0.1718, allocations: 92.05 kB / 331.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.1741, allocations: 1.958 MB / 333.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007354/0.1814, allocations: 7.042 MB / 340.4 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1825, allocations: 1 MB / 341.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.1836, allocations: 0.9132 MB / 342.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.1838, allocations: 44.97 kB / 342.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.1838, allocations: 47.5 kB / 342.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 3.466e-06/0.1838, allocations: 7.938 kB / 342.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=111): time 0.007784/0.1916, allocations: 5.506 MB / 347.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1916, allocations: 65.91 kB / 348 MB, free: 12.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.1931, allocations: 1.325 MB / 349.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.1931, allocations: 45.7 kB / 349.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.1936, allocations: 0.938 MB / 350.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.1938, allocations: 404.5 kB / 350.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.1941, allocations: 247.5 kB / 350.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004114/0.1945, allocations: 357.9 kB / 351.2 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.1951, allocations: 0.6481 MB / 351.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007782/0.1959, allocations: 0.9928 MB / 352.9 MB, free: 7.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.1974, allocations: 1.735 MB / 354.6 MB, free: 5.789 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1974, allocations: 4 kB / 354.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002337/0.1998, allocations: 2.246 MB / 356.9 MB, free: 3.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1998, allocations: 12 kB / 356.9 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1998, allocations: 11.94 kB / 356.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/0.2005, allocations: 0.4883 MB / 357.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.2011, allocations: 300.4 kB / 357.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004718/0.2058, allocations: 6.768 MB / 364.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.2064, allocations: 87.94 kB / 364.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.2065, allocations: 55.98 kB / 364.6 MB, free: 11.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001136/0.2076, allocations: 0.6104 MB / 365.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.2078, allocations: 151 kB / 365.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.2098, allocations: 1.949 MB / 367.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.2098, allocations: 19.94 kB / 367.3 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2098, allocations: 7.562 kB / 367.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2098, allocations: 7.969 kB / 367.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/0.2138, allocations: 3.851 MB / 371.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2138, allocations: 4 kB / 371.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.2143, allocations: 188 kB / 371.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007828/0.215, allocations: 0.5309 MB / 371.9 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.2151, allocations: 31.98 kB / 371.9 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005502/0.2206, allocations: 8.287 MB / 380.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2206, allocations: 7.938 kB / 380.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.2233, allocations: 2.837 MB / 383.1 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.2237, allocations: 286.8 kB / 383.3 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.2238, allocations: 28 kB / 383.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.2242, allocations: 71.92 kB / 383.4 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.2244, allocations: 88.86 kB / 383.5 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.2244, allocations: 35.98 kB / 383.6 MB, free: 7.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008348/0.2253, allocations: 0.8916 MB / 384.4 MB, free: 6.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2253, allocations: 0 / 384.4 MB, free: 6.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001052/0.2263, allocations: 439.9 kB / 384.9 MB, free: 6.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00302/0.2293, allocations: 3.467 MB / 388.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.2313, allocations: 2.003 MB / 390.4 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2313, allocations: 0 / 390.4 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.2325, allocations: 1.38 MB / 391.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.2336, allocations: 426.9 kB / 392.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.25, allocations: 15.56 MB / 407.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007908/0.2508, allocations: 1.069 MB / 408.8 MB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000649/0.2514, allocations: 324.8 kB / 409.1 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006055/0.252, allocations: 0.719 MB / 409.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.252, allocations: 0 / 409.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/0.3053, allocations: 42.63 MB / 452.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/8.695, allocations: 4 kB / 452.4 MB, free: 2.039 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.054055959917605]