Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.00188/0.00188, allocations: 116.9 kB / 18.45 MB, free: 4.566 MB / 14.72 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.00232/0.00232, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.599/1.599, allocations: 207.6 MB / 231.8 MB, free: 4.02 MB / 174.1 MB " [Timeout remaining time 178] 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_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 47.94 kB / 342.3 MB, free: 9.977 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1162, allocations: 49.13 MB / 391.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01404/0.1302, allocations: 9.387 MB / 400.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007449/0.1377, allocations: 3.038 MB / 403.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.1395, allocations: 47.69 kB / 403.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.1422, allocations: 0.6795 MB / 404.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.1464, allocations: 0.8079 MB / 405.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.1475, allocations: 351.5 kB / 405.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004525/0.1521, allocations: 2.689 MB / 408.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.1543, allocations: 1.401 MB / 409.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.1563, allocations: 1.219 MB / 411 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.1587, allocations: 1.53 MB / 412.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005878/0.1593, allocations: 308 kB / 412.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009136/0.1602, allocations: 399.8 kB / 413.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009934/0.1612, allocations: 0.8959 MB / 414.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.163, allocations: 1.404 MB / 415.6 MB, free: 396 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.1678, allocations: 4.107 MB / 419.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1678, allocations: 4 kB / 419.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1678, allocations: 0 / 419.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.498e-05/0.1678, allocations: 0 / 419.7 MB, free: 12.26 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006179/0.174, allocations: 2.913 MB / 422.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1741, allocations: 8.031 kB / 422.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004398/0.1745, allocations: 295.5 kB / 422.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.1753, allocations: 299.2 kB / 423.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/0.1781, allocations: 1.458 MB / 424.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.1782, allocations: 152.4 kB / 424.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/0.1786, allocations: 207.8 kB / 425 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/0.1837, allocations: 2.732 MB / 427.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.882e-05/0.1837, allocations: 4 kB / 427.7 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/0.1839, allocations: 88 kB / 427.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.184, allocations: 91.94 kB / 427.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004468/0.1885, allocations: 2.322 MB / 430.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/0.2036, allocations: 8.339 MB / 438.6 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.206, allocations: 1.71 MB / 440.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.2082, allocations: 1.014 MB / 441.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.2085, allocations: 122.9 kB / 441.4 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.2085, allocations: 55.5 kB / 441.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.667e-06/0.2085, allocations: 0 / 441.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01534/0.2239, allocations: 6.32 MB / 447.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2239, allocations: 64.41 kB / 447.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.2265, allocations: 1.524 MB / 449.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.2267, allocations: 45.7 kB / 449.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009965/0.2277, allocations: 1.005 MB / 450.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.2281, allocations: 436.3 kB / 450.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004933/0.2286, allocations: 255.5 kB / 451.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.2288, allocations: 357.9 kB / 451.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.2302, allocations: 0.7339 MB / 452.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.2316, allocations: 1.055 MB / 453.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.2345, allocations: 1.883 MB / 455.1 MB, free: 7.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2345, allocations: 3.938 kB / 455.1 MB, free: 7.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004561/0.2391, allocations: 2.346 MB / 457.5 MB, free: 5.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.2391, allocations: 15.91 kB / 457.5 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.2391, allocations: 8 kB / 457.5 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.2403, allocations: 411.5 kB / 457.9 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.2418, allocations: 323.5 kB / 458.2 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2133/0.455, allocations: 5.056 MB / 463.3 MB, free: 61.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.4565, allocations: 91.67 kB / 463.3 MB, free: 61.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.4567, allocations: 53.5 kB / 463.4 MB, free: 61.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001373/0.4581, allocations: 0.7101 MB / 464.1 MB, free: 61.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003894/0.4584, allocations: 168.9 kB / 464.3 MB, free: 61.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/0.4623, allocations: 2.133 MB / 466.4 MB, free: 61.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.4624, allocations: 11.09 kB / 466.4 MB, free: 61.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4624, allocations: 4.031 kB / 466.4 MB, free: 61.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.4624, allocations: 6.703 kB / 466.4 MB, free: 61.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00833/0.4707, allocations: 4.558 MB / 471 MB, free: 59.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.4707, allocations: 2.094 kB / 471 MB, free: 59.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4717, allocations: 224.9 kB / 471.2 MB, free: 59.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.4731, allocations: 467.4 kB / 471.7 MB, free: 59.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-05/0.4732, allocations: 34.72 kB / 471.7 MB, free: 59.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005826/0.479, allocations: 6.688 MB / 478.4 MB, free: 54.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.479, allocations: 2.781 kB / 478.4 MB, free: 54.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/0.4835, allocations: 3.183 MB / 481.6 MB, free: 52.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008527/0.4844, allocations: 408.1 kB / 482 MB, free: 52.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.4846, allocations: 30 kB / 482 MB, free: 52.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008847/0.4855, allocations: 75.86 kB / 482.1 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.4858, allocations: 110.8 kB / 482.2 MB, free: 52.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/0.4859, allocations: 35.17 kB / 482.2 MB, free: 52.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00165/0.4875, allocations: 1.041 MB / 483.3 MB, free: 52.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4875, allocations: 1.375 kB / 483.3 MB, free: 52.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001847/0.4893, allocations: 464.8 kB / 483.7 MB, free: 52.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,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.005038/0.4944, allocations: 3.825 MB / 487.5 MB, free: 50.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003176/0.4976, allocations: 2.203 MB / 489.7 MB, free: 48.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.4976, allocations: 0 / 489.7 MB, free: 48.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.4994, allocations: 1.43 MB / 491.2 MB, free: 47.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.5016, allocations: 457.5 kB / 491.6 MB, free: 46.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/0.524, allocations: 17.43 MB / 0.4971 GB, free: 28.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.5251, allocations: 1.826 MB / 0.4989 GB, free: 26.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001042/0.5261, allocations: 393.5 kB / 0.4993 GB, free: 26.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008566/0.527, allocations: 0.7961 MB / 0.5001 GB, free: 25.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.527, allocations: 0 / 0.5001 GB, free: 25.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09104/0.618, allocations: 43.57 MB / 0.5426 GB, free: 14.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.57/21.19, allocations: 7.984 kB / 0.5426 GB, free: 14.09 MB / 414.1 MB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_DOL/AIMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.45599914000195]