Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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.001056/0.001056, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.00592/0.00592, allocations: 165.9 kB / 24.7 MB, free: 9.422 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.9559/0.9559, allocations: 158.6 MB / 186.5 MB, free: 3.039 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_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.12e-05, allocations: 2.281 kB / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.1321/0.1321, allocations: 7.803 MB / 306.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004825/0.1369, allocations: 2.729 MB / 309 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.1385, allocations: 47.94 kB / 309 MB, free: 9.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.1401, allocations: 0.6021 MB / 309.6 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.1427, allocations: 0.7567 MB / 310.4 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008754/0.1435, allocations: 339.1 kB / 310.7 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002679/0.1462, allocations: 2.321 MB / 313 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.1475, allocations: 0.9605 MB / 314 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.1501, allocations: 1.508 MB / 315.5 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.1521, allocations: 1.114 MB / 316.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007105/0.1528, allocations: 269.5 kB / 316.9 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009588/0.1538, allocations: 358.8 kB / 317.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007421/0.1545, allocations: 0.7895 MB / 318 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.1558, allocations: 0.8358 MB / 318.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.1591, allocations: 3.571 MB / 322.4 MB, free: 3.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1591, allocations: 0 / 322.4 MB, free: 3.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1591, allocations: 0 / 322.4 MB, free: 3.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.958e-05/0.1592, allocations: 0 / 322.4 MB, free: 3.008 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004677/0.1638, allocations: 2.445 MB / 324.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1639, allocations: 13.64 kB / 324.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003259/0.1642, allocations: 274.4 kB / 325.2 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.1648, allocations: 262.6 kB / 325.4 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.1665, allocations: 1.158 MB / 326.6 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.1666, allocations: 135.7 kB / 326.7 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.1669, allocations: 182.8 kB / 326.9 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.1703, allocations: 2.477 MB / 329.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.1703, allocations: 6.938 kB / 329.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.1704, allocations: 69.81 kB / 329.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/0.1705, allocations: 96.59 kB / 329.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002741/0.1732, allocations: 1.955 MB / 331.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008768/0.182, allocations: 6.387 MB / 337.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.1834, allocations: 0.9775 MB / 338.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009583/0.1843, allocations: 0.8152 MB / 339.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.1845, allocations: 44.97 kB / 339.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1845, allocations: 43.5 kB / 339.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 3.196e-06/0.1845, allocations: 1.594 kB / 339.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.008785/0.1933, allocations: 5.541 MB / 345.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.1934, allocations: 64.41 kB / 345.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.195, allocations: 1.226 MB / 346.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.1952, allocations: 45.7 kB / 346.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000457/0.1956, allocations: 0.883 MB / 347.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.1959, allocations: 380.8 kB / 347.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.1961, allocations: 218.9 kB / 348.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1962, allocations: 357.9 kB / 348.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007236/0.197, allocations: 0.6155 MB / 349.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008/0.1978, allocations: 0.9272 MB / 350 MB, free: 10.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.1993, allocations: 1.636 MB / 351.6 MB, free: 8.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.1993, allocations: 4 kB / 351.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002842/0.2022, allocations: 2.145 MB / 353.8 MB, free: 6.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.2022, allocations: 8 kB / 353.8 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.2022, allocations: 12 kB / 353.8 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007164/0.2029, allocations: 480 kB / 354.3 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.2035, allocations: 272.4 kB / 354.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.2083, allocations: 6.671 MB / 361.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.2094, allocations: 79.88 kB / 361.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/0.2095, allocations: 51.98 kB / 361.3 MB, free: 14.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001003/0.2105, allocations: 0.595 MB / 361.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.2108, allocations: 147.1 kB / 362.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.213, allocations: 1.929 MB / 364 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.213, allocations: 12 kB / 364 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.213, allocations: 4 kB / 364 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.213, allocations: 7.984 kB / 364 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.218, allocations: 3.883 MB / 367.9 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.218, allocations: 4 kB / 367.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.2185, allocations: 171.8 kB / 368.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008282/0.2193, allocations: 0.5273 MB / 368.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.2194, allocations: 31.97 kB / 368.6 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005497/0.2248, allocations: 8.15 MB / 376.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2249, allocations: 11.94 kB / 376.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003203/0.2281, allocations: 2.859 MB / 379.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/0.2287, allocations: 270.9 kB / 379.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.2289, allocations: 35.92 kB / 380 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.2293, allocations: 71.92 kB / 380 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.2295, allocations: 96.7 kB / 380.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.2295, allocations: 35.98 kB / 380.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001055/0.2306, allocations: 0.8382 MB / 381 MB, free: 10.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2306, allocations: 4 kB / 381 MB, free: 10.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001238/0.2318, allocations: 404 kB / 381.4 MB, free: 9.922 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 84 * 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,6,100.0%), (1,1,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.00326/0.2351, allocations: 3.487 MB / 384.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.2373, allocations: 1.941 MB / 386.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.2373, allocations: 0 / 386.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.2389, allocations: 1.361 MB / 388.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.2403, allocations: 395.6 kB / 388.6 MB, free: 2.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/0.2593, allocations: 14.93 MB / 403.5 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009243/0.2603, allocations: 1.058 MB / 404.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006982/0.261, allocations: 291.8 kB / 404.8 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006283/0.2616, allocations: 0.6917 MB / 405.5 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2616, allocations: 4 kB / 405.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06377/0.3254, allocations: 40.19 MB / 445.7 MB, free: 8.641 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/8.715, allocations: 15.66 kB / 445.7 MB, free: 8.625 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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.724593854509294]